Title: [6721] trunk/arch/blackfin/kernel/irqchip.c: Blackfin: only build show_interrupts() when procfs is enabled
Revision
6721
Author
vapier
Date
2009-06-15 05:14:48 -0500 (Mon, 15 Jun 2009)

Log Message

Blackfin: only build show_interrupts() when procfs is enabled

Modified Paths


Diff

Modified: trunk/arch/blackfin/kernel/irqchip.c (6720 => 6721)


--- trunk/arch/blackfin/kernel/irqchip.c	2009-06-15 10:13:08 UTC (rev 6720)
+++ trunk/arch/blackfin/kernel/irqchip.c	2009-06-15 10:14:48 UTC (rev 6721)
@@ -54,6 +54,7 @@
 #error "Blackfin architecture does not support CONFIG_CPUMASK_OFFSTACK."
 #endif
 
+#ifdef CONFIG_PROC_FS
 int show_interrupts(struct seq_file *p, void *v)
 {
 	int i = *(loff_t *) v, j;
@@ -85,6 +86,7 @@
 	}
 	return 0;
 }
+#endif
 
 /*
  * do_IRQ handles all hardware IRQs.  Decoded IRQs should not
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to