Commit 0addff81 authored by Sachin Sant's avatar Sachin Sant Committed by Martin Schwidefsky

[S390] Fix init irq proc build break.

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

Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
parent d5e842c4
...@@ -95,6 +95,7 @@ asmlinkage void do_softirq(void) ...@@ -95,6 +95,7 @@ asmlinkage void do_softirq(void)
local_irq_restore(flags); local_irq_restore(flags);
} }
#ifdef CONFIG_PROC_FS
void init_irq_proc(void) void init_irq_proc(void)
{ {
struct proc_dir_entry *root_irq_dir; struct proc_dir_entry *root_irq_dir;
...@@ -102,3 +103,4 @@ void init_irq_proc(void) ...@@ -102,3 +103,4 @@ void init_irq_proc(void)
root_irq_dir = proc_mkdir("irq", NULL); root_irq_dir = proc_mkdir("irq", NULL);
create_prof_cpu_mask(root_irq_dir); create_prof_cpu_mask(root_irq_dir);
} }
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment