powerpc/64s/interrupt: halt early boot interrupts if paca is not set up
[linux-2.6-block.git] / arch / powerpc / kernel / setup_64.c
index 6312a3fe8eff904deb73f3bf1376ede33485fc52..a0dee7354fe6b5032c0d334487fe2ec30f2fae87 100644 (file)
@@ -364,6 +364,7 @@ void __init early_setup(unsigned long dt_ptr)
         */
        initialise_paca(&boot_paca, 0);
        fixup_boot_paca(&boot_paca);
+       WARN_ON(local_paca != 0);
        setup_paca(&boot_paca); /* install the paca into registers */
 
        /* -------- printk is now safe to use ------- */