From: Al Viro Date: Wed, 25 Apr 2007 22:43:52 +0000 (+0200) Subject: mca_nmi_hook() can be called at any point X-Git-Tag: v2.6.16.50-rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89cd6ca5a57e67604e05076203e1da12723dae12;p=thirdparty%2Fkernel%2Fstable.git mca_nmi_hook() can be called at any point ... and having it __init is a bad idea. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk --- diff --git a/arch/i386/mach-default/setup.c b/arch/i386/mach-default/setup.c index b4a7455c69939..7c5c224b0758d 100644 --- a/arch/i386/mach-default/setup.c +++ b/arch/i386/mach-default/setup.c @@ -101,7 +101,7 @@ void __init time_init_hook(void) * along the MCA bus. Use this to hook into that chain if you will need * it. **/ -void __init mca_nmi_hook(void) +void mca_nmi_hook(void) { /* If I recall correctly, there's a whole bunch of other things that * we can do to check for NMI problems, but that's all I know about