]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/system_certificate.S: use real contents instead of macro GLOBAL()
authorChen Gang <gang.chen@asianux.com>
Wed, 30 Oct 2013 01:11:28 +0000 (09:11 +0800)
committerDavid Howells <dhowells@redhat.com>
Wed, 30 Oct 2013 12:58:00 +0000 (12:58 +0000)
commitc52bd56582f639fb31cc3bd270f64fadf54e47f4
tree9449c10dfb683cdcd507b37d29f9bb3173cba8c8
parent61d1f8aaf5892eafb2b0b6b7ca6ae8ab1e4013db
kernel/system_certificate.S: use real contents instead of macro GLOBAL()

If a macro is only used within 2 times, and also its contents are
within 2 lines, recommend to expand it to shrink code line.

For our case, the macro is not portable either: some architectures'
assembler may use another character to mark newline in a macro (e.g.
'`' for arc), which will cause issue.

If still want to use macro and let it portable enough, it will also
need include additional header file (e.g "#include <linux/linkage.h>",
although it also need be fixed).

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: David Howells <dhowells@redhat.com>
kernel/system_certificates.S