summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/i386_ksyms_32.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-10-05 12:02:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-05 12:02:18 -0700
commit46302b46e5cf9e23859360e38c540be6e3465c6b (patch)
tree0ffa9e4493bcba6985895045187f807d5fd99a99 /arch/x86/kernel/i386_ksyms_32.c
parent5b1755f23b98e0afaedaec8344002ab184646286 (diff)
parent24e35800cdc4350fc34e2bed37b608a9e13ab3b6 (diff)
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86: Don't leak 64-bit kernel register values to 32-bit processes x86, SLUB: Remove unused CONFIG FAST_CMPXCHG_LOCAL x86: earlyprintk: Fix regression to handle serial,ttySn as 1 arg x86: Don't generate cmpxchg8b_emu if CONFIG_X86_CMPXCHG64=y x86: Fix csum_ipv6_magic asm memory clobber x86: Optimize cmpxchg64() at build-time some more
Diffstat (limited to 'arch/x86/kernel/i386_ksyms_32.c')
-rw-r--r--arch/x86/kernel/i386_ksyms_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/i386_ksyms_32.c b/arch/x86/kernel/i386_ksyms_32.c
index 1736c5a725aa..9c3bd4a2050e 100644
--- a/arch/x86/kernel/i386_ksyms_32.c
+++ b/arch/x86/kernel/i386_ksyms_32.c
@@ -15,8 +15,10 @@ EXPORT_SYMBOL(mcount);
* the export, but dont use it from C code, it is used
* by assembly code and is not using C calling convention!
*/
+#ifndef CONFIG_X86_CMPXCHG64
extern void cmpxchg8b_emu(void);
EXPORT_SYMBOL(cmpxchg8b_emu);
+#endif
/* Networking helper routines. */
EXPORT_SYMBOL(csum_partial_copy_generic);