summaryrefslogtreecommitdiffstats
path: root/kernel/softirq.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-03-06 17:08:34 +0100
committerIngo Molnar <mingo@elte.hu>2009-03-06 17:14:12 +0100
commit7ab152470e8416ef2a44c800fdc157e2192f2974 (patch)
tree51bdd828f3da594c062a2c9866574381408c1ff1 /kernel/softirq.c
parentMerge branch 'x86/uv' into x86/core (diff)
downloadlinux-7ab152470e8416ef2a44c800fdc157e2192f2974.tar.xz
linux-7ab152470e8416ef2a44c800fdc157e2192f2974.zip
x86: linkage.h - guard assembler specifics by __ASSEMBLY__
Stephen Rothwell reported: |Today's linux-next build (x86_64 allmodconfig) produced this warning: | |In file included from drivers/char/epca.c:49: |drivers/char/digiFep1.h:7:1: warning: "GLOBAL" redefined |In file included from include/linux/linkage.h:5, | from include/linux/kernel.h:11, | from arch/x86/include/asm/system.h:10, | from arch/x86/include/asm/processor.h:17, | from include/linux/prefetch.h:14, | from include/linux/list.h:6, | from include/linux/module.h:9, | from drivers/char/epca.c:29: |arch/x86/include/asm/linkage.h:55:1: warning: this is the location of the previous definition | |Probably introduced by commit 95695547a7db44b88a7ee36cf5df188de267e99e |("x86: asm linkage - introduce GLOBAL macro") from the x86 tree. Any assembler specific snippets being placed in headers are to be protected by __ASSEMBLY__. Fixed. Also move __ALIGN definition under the same protection as well. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> LKML-Reference: <20090306160833.GB7420@localhost> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions