Skip to content

Commit

Permalink
[S390] Fix init irq proc build break.
Browse files Browse the repository at this point in the history
Embed init_irq_proc(s390) within CONFIG_PROC_FS to fix a build break.

Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
  • Loading branch information
Sachin Sant authored and Martin Schwidefsky committed Feb 11, 2009
1 parent d5e842c commit 0addff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ 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;

root_irq_dir = proc_mkdir("irq", NULL);
create_prof_cpu_mask(root_irq_dir);
}
#endif

0 comments on commit 0addff8

Please sign in to comment.