File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -705,6 +705,9 @@ static void __init do_basic_setup(void)
705
705
#ifdef CONFIG_SYSCTL
706
706
sysctl_init ();
707
707
#endif
708
+ #ifdef CONFIG_PROC_FS
709
+ init_irq_proc ();
710
+ #endif
708
711
709
712
do_initcalls ();
710
713
}
Original file line number Diff line number Diff line change @@ -1177,8 +1177,6 @@ static ctl_table dev_table[] = {
1177
1177
{ .ctl_name = 0 }
1178
1178
};
1179
1179
1180
- extern void init_irq_proc (void );
1181
-
1182
1180
static DEFINE_SPINLOCK (sysctl_lock );
1183
1181
1184
1182
/* called under sysctl_lock */
@@ -1224,7 +1222,6 @@ void __init sysctl_init(void)
1224
1222
{
1225
1223
#ifdef CONFIG_PROC_SYSCTL
1226
1224
register_proc_table (root_table , proc_sys_root , & root_table_header );
1227
- init_irq_proc ();
1228
1225
#endif
1229
1226
}
1230
1227
You can’t perform that action at this time.
0 commit comments