x86, mpparse: Put check_slot() into .init section
[pandora-kernel.git] / arch / x86 / kernel / mpparse.c
index 5a532ce..f1b2718 100644 (file)
@@ -715,7 +715,7 @@ static void __init check_irq_src(struct mpc_intsrc *m, int *nr_m_spare)
        }
 }
 
-static int
+static int __init
 check_slot(unsigned long mpc_new_phys, unsigned long mpc_new_length, int count)
 {
        int ret = 0;