Merge branch 'for-next' of git://git.o-hand.com/linux-mfd
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / sparc / kernel / irq_32.c
index f3488c45d57a0d7867b9292af1f2a01c2cbc6c56..44dd5ee64339219257a2457d85afd364f2526f58 100644 (file)
@@ -294,6 +294,7 @@ void synchronize_irq(unsigned int irq)
        while (sparc_irq[cpu_irq].flags & SPARC_IRQ_INPROGRESS)
                cpu_relax();
 }
+EXPORT_SYMBOL(synchronize_irq);
 #endif /* SMP */
 
 void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs)
@@ -669,7 +670,9 @@ void __init init_IRQ(void)
        btfixup();
 }
 
+#ifdef CONFIG_PROC_FS
 void init_irq_proc(void)
 {
        /* For now, nothing... */
 }
+#endif /* CONFIG_PROC_FS */