diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-03-11 21:03:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-11 21:03:35 -0400 |
commit | b2211a361a4289c83971f89da53fe2eb9e72769d (patch) | |
tree | e73ba46c7d54199ccef2ec378569d29501179bf5 | |
parent | 5ea3a7480606cef06321cd85bc5113c72d2c7c68 (diff) |
net: fix build with CONFIG_NET=n
fs/built-in.o:(.rodata+0x1134): undefined reference to `proc_net_inode_operations'
fs/built-in.o:(.rodata+0x1138): undefined reference to `proc_net_operations'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index cc43cf0c1fa5..3217774d269f 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2274,7 +2274,9 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
2274 | DIR("task", S_IRUGO|S_IXUGO, task), | 2274 | DIR("task", S_IRUGO|S_IXUGO, task), |
2275 | DIR("fd", S_IRUSR|S_IXUSR, fd), | 2275 | DIR("fd", S_IRUSR|S_IXUSR, fd), |
2276 | DIR("fdinfo", S_IRUSR|S_IXUSR, fdinfo), | 2276 | DIR("fdinfo", S_IRUSR|S_IXUSR, fdinfo), |
2277 | #ifdef CONFIG_NET | ||
2277 | DIR("net", S_IRUGO|S_IXUSR, net), | 2278 | DIR("net", S_IRUGO|S_IXUSR, net), |
2279 | #endif | ||
2278 | REG("environ", S_IRUSR, environ), | 2280 | REG("environ", S_IRUSR, environ), |
2279 | INF("auxv", S_IRUSR, pid_auxv), | 2281 | INF("auxv", S_IRUSR, pid_auxv), |
2280 | ONE("status", S_IRUGO, pid_status), | 2282 | ONE("status", S_IRUGO, pid_status), |