x86: Don't put iommu_shutdown_noop() in init section
authorHiroshi Shimamoto <[email protected]>
Mon, 16 Nov 2009 02:44:30 +0000 (11:44 +0900)
committerIngo Molnar <[email protected]>
Mon, 16 Nov 2009 07:58:51 +0000 (08:58 +0100)
It causes kernel panic on shutdown or reboot.

Signed-off-by: Hiroshi Shimamoto <[email protected]>
Acked-by: FUJITA Tomonori <[email protected]>
LKML-Reference: <4B00BC8E[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/x86_init.c

index 80f3ae24b9747b2f1488d9bfac3077c525746f45..d11c5ff7c65ede5f752449c630200cda0620fce2 100644 (file)
@@ -20,7 +20,7 @@ void __cpuinit x86_init_noop(void) { }
 void __init x86_init_uint_noop(unsigned int unused) { }
 void __init x86_init_pgd_noop(pgd_t *unused) { }
 int __init iommu_init_noop(void) { return 0; }
-void __init iommu_shutdown_noop(void) { }
+void iommu_shutdown_noop(void) { }
 
 /*
  * The platform setup functions are preset with the default functions