]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86_64: oprofile build fix
authorAndrew Morton <akpm@osdl.org>
Wed, 28 Jun 2006 11:27:04 +0000 (04:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:07 +0000 (14:59 -0700)
WARNING: "unset_nmi_callback" [arch/x86_64/oprofile/oprofile.ko] undefined!
WARNING: "set_nmi_callback" [arch/x86_64/oprofile/oprofile.ko] undefined!

Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/nmi.c

index 399489c93132c2b9c3d6954b9b2d7149ad084f63..0ef9cf2bc45e4ea809e3a76fb2c4f61dc4a3c7b4 100644 (file)
@@ -607,11 +607,13 @@ void set_nmi_callback(nmi_callback_t callback)
        vmalloc_sync_all();
        rcu_assign_pointer(nmi_callback, callback);
 }
+EXPORT_SYMBOL_GPL(set_nmi_callback);
 
 void unset_nmi_callback(void)
 {
        nmi_callback = dummy_nmi_callback;
 }
+EXPORT_SYMBOL_GPL(unset_nmi_callback);
 
 #ifdef CONFIG_SYSCTL