powerpc: Shield code specific to 64-bit server processors
[deliverable/linux.git] / arch / powerpc / kernel / irq.c
index 7d46e5d5b20742e8b9e7c55b125309156cc43e01..8564a412e7a66f28b0403007f7a6615d23167816 100644 (file)
@@ -117,6 +117,7 @@ notrace void raw_local_irq_restore(unsigned long en)
        if (!en)
                return;
 
+#ifdef CONFIG_PPC_STD_MMU_64
        if (firmware_has_feature(FW_FEATURE_ISERIES)) {
                /*
                 * Do we need to disable preemption here?  Not really: in the
@@ -134,6 +135,7 @@ notrace void raw_local_irq_restore(unsigned long en)
                if (local_paca->lppaca_ptr->int_dword.any_int)
                        iseries_handle_interrupts();
        }
+#endif /* CONFIG_PPC_STD_MMU_64 */
 
        /*
         * if (get_paca()->hard_enabled) return;
This page took 0.025323 seconds and 5 git commands to generate.