x86: fix compile warning building without CONFIG_SYSCTL
authorLi Zefan <lizf@cn.fujitsu.com>
Sun, 3 Feb 2008 07:40:30 +0000 (15:40 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:29 +0000 (16:18 +0100)
commita062bae9c443a8c0ab17f231eb83690dfb897524
treed7c94f3ca3733ec340ea20eb3070142ef863c62f
parent8e31c2ac1101b09ad6c6d3539b032d312cc3302b
x86: fix compile warning building without CONFIG_SYSCTL

arch/x86/kernel/nmi_64.c:50: warning: 'unknown_nmi_panic_callback' declared 'static' but never defined

This patch also fixes nmi_32.c

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/nmi_32.c
arch/x86/kernel/nmi_64.c