[PATCH] Restore set_nmi_callback export on x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Commit 2ee60e17896c65da1df5780d3196c050bccb7d10 broke modular
oprofile (amongst others I suspect) on x86_64 by killing the
exports of set_nmi_callback and unset_nmi_callback. Let's
restore the exports next to the functions as is prefered now.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Andi Kleen <[email protected]>
 arch/x86_64/kernel/nmi.c |    2 ++
 1 files changed, 2 insertions(+)

--- linux-2.6.17-git.orig/arch/x86_64/kernel/nmi.c	2006-06-27 16:22:17.000000000 +0200
+++ linux-2.6.17-git/arch/x86_64/kernel/nmi.c	2006-06-27 17:08:18.000000000 +0200
@@ -607,11 +607,13 @@
 	rcu_assign_pointer(nmi_callback, callback);
 void unset_nmi_callback(void)
 	nmi_callback = dummy_nmi_callback;

Jean Delvare
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux