]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] Fix init irq proc build break.
authorSachin Sant <sachinp@in.ibm.com>
Wed, 11 Feb 2009 09:37:29 +0000 (10:37 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 11 Feb 2009 09:37:39 +0000 (10:37 +0100)
Embed init_irq_proc(s390) within CONFIG_PROC_FS to fix a build break.

Signed-off-by : Sachin Sant <sachinp@in.ibm.com>

arch/s390/kernel/irq.c

index e7c5bfb7c755acf812f563a6c4d2986843fcbd04..026a37a94fc9fa6c3560de0bb1424688fddd4f39 100644 (file)
@@ -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