Subject: [Patch] [s390] Fix init irq proc build break.

From: "Sachin P. Sant" <[email-masked]>
Date: Tue, 10 Feb 2009 16:45:15 +0530

* Embed init_irq_proc(s390) within CONFIG_PROC_FS to fix a build break.

Signed-off-by : Sachin Sant <[email-masked]>
---

Thanks
-Sachin

* Embed init_irq_proc(s390) within CONFIG_PROC_FS to fix a build break.

Signed-off-by : Sachin Sant <[email-masked]>
---

diff -Naurp a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
--- a/arch/s390/kernel/irq.c	2009-02-10 18:30:01.000000000 +0530
+++ b/arch/s390/kernel/irq.c	2009-02-10 19:01:44.000000000 +0530
@@ -95,6 +95,7 @@ asmlinkage void do_softirq(void)
 	local_irq_restore(flags);
 }
 
+#ifdef CONFIG_PROC_FS
 void init_irq_proc(void)
 {
 	struct proc_dir_entry *root_irq_dir;
@@ -102,3 +103,4 @@ void init_irq_proc(void)
 	root_irq_dir = proc_mkdir("irq", NULL);
 	create_prof_cpu_mask(root_irq_dir);
 }
+#endif