2007-02-01 13:52:30

by Al Viro

[permalink] [raw]
Subject: [PATCH] mca_nmi_hook() can be called at any point


... and having it __init is a bad idea.

Signed-off-by: Al Viro <[email protected]>
---
arch/i386/mach-default/setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/mach-default/setup.c b/arch/i386/mach-default/setup.c
index c511705..cc2f519 100644
--- a/arch/i386/mach-default/setup.c
+++ b/arch/i386/mach-default/setup.c
@@ -102,7 +102,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
--
1.5.0-rc2.GIT