diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-14 03:33:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 11:09:58 -0500 |
commit | b04c3afb2b6e2f902b41bb62b73684d92d7e6c34 (patch) | |
tree | 00b164435ec9c9226659852c784e7e0a8c94c8e9 /kernel | |
parent | 0e03036c97b70b2602f7dedaa3a223ed7563c2c9 (diff) |
[PATCH] sysctl: move init_irq_proc into init/main where it belongs
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index e0ac6cd79fcf..7ba4b0c16d6a 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -1177,8 +1177,6 @@ static ctl_table dev_table[] = { | |||
1177 | { .ctl_name = 0 } | 1177 | { .ctl_name = 0 } |
1178 | }; | 1178 | }; |
1179 | 1179 | ||
1180 | extern void init_irq_proc (void); | ||
1181 | |||
1182 | static DEFINE_SPINLOCK(sysctl_lock); | 1180 | static DEFINE_SPINLOCK(sysctl_lock); |
1183 | 1181 | ||
1184 | /* called under sysctl_lock */ | 1182 | /* called under sysctl_lock */ |
@@ -1224,7 +1222,6 @@ void __init sysctl_init(void) | |||
1224 | { | 1222 | { |
1225 | #ifdef CONFIG_PROC_SYSCTL | 1223 | #ifdef CONFIG_PROC_SYSCTL |
1226 | register_proc_table(root_table, proc_sys_root, &root_table_header); | 1224 | register_proc_table(root_table, proc_sys_root, &root_table_header); |
1227 | init_irq_proc(); | ||
1228 | #endif | 1225 | #endif |
1229 | } | 1226 | } |
1230 | 1227 | ||