Skip to contentSkip to conversation

mca_nmi_hook() can be called at any point

PATCH New Al Viro 1 participant 1 message Feb 1, 2007

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 mca_nmi_hook() can be called at any point

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

---
 arch/i386/mach-default/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/i386/mach-default/setup.c +1 -1
index c511705..cc2f519 100644
@@ -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
Signature · 1 line
1.5.0-rc2.GIT