diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-30 06:32:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-01 11:25:22 -0400 |
commit | a1bc6eb4b499ae67ada9a01660010580b6569403 (patch) | |
tree | 95bcb20bd9ca30a82343e49d59e1e7c470bb057e /net/ipv4 | |
parent | f418b006079ce537daf9436215f1d2a47e451602 (diff) |
[PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 380d6474cf66..a72a5ad46ec5 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -3216,6 +3216,7 @@ int __init ip_rt_init(void) | |||
3216 | return rc; | 3216 | return rc; |
3217 | } | 3217 | } |
3218 | 3218 | ||
3219 | #ifdef CONFIG_SYSCTL | ||
3219 | /* | 3220 | /* |
3220 | * We really need to sanitize the damn ipv4 init order, then all | 3221 | * We really need to sanitize the damn ipv4 init order, then all |
3221 | * this nonsense will go away. | 3222 | * this nonsense will go away. |
@@ -3224,6 +3225,7 @@ void __init ip_static_sysctl_init(void) | |||
3224 | { | 3225 | { |
3225 | register_sysctl_paths(ipv4_route_path, ipv4_route_table); | 3226 | register_sysctl_paths(ipv4_route_path, ipv4_route_table); |
3226 | } | 3227 | } |
3228 | #endif | ||
3227 | 3229 | ||
3228 | EXPORT_SYMBOL(__ip_select_ident); | 3230 | EXPORT_SYMBOL(__ip_select_ident); |
3229 | EXPORT_SYMBOL(ip_route_input); | 3231 | EXPORT_SYMBOL(ip_route_input); |