summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-09-30 15:10:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-30 15:10:40 -0700
commit84d88d5d4efc37dfb8a93a4a58d8a227ee86ffa4 (patch)
tree8dc2761f3111a7dfee01f290f2659faaa24ec06e /arch/x86/kernel
parente399835c349b7d8339775a004a86a492a444e230 (diff)
parent152f9d0710a62708710161bce1b29fa8292c8c11 (diff)
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: sched_clock: Fix atomicity/continuity bug by using cmpxchg64() x86: Provide an alternative() based cmpxchg64()
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/i386_ksyms_32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/i386_ksyms_32.c b/arch/x86/kernel/i386_ksyms_32.c
index 43cec6bdda63..1736c5a725aa 100644
--- a/arch/x86/kernel/i386_ksyms_32.c
+++ b/arch/x86/kernel/i386_ksyms_32.c
@@ -10,6 +10,14 @@
EXPORT_SYMBOL(mcount);
#endif
+/*
+ * Note, this is a prototype to get at the symbol for
+ * the export, but dont use it from C code, it is used
+ * by assembly code and is not using C calling convention!
+ */
+extern void cmpxchg8b_emu(void);
+EXPORT_SYMBOL(cmpxchg8b_emu);
+
/* Networking helper routines. */
EXPORT_SYMBOL(csum_partial_copy_generic);