diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-17 21:40:06 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-17 21:40:06 +0000 |
commit | 3dd69a02d1da3b66a116df0e778c4395eea0f0f2 (patch) | |
tree | cde74ece2de1b528e0260484addf6f8be7fbd8b2 /ipc | |
parent | 4336fdf7d7c48ccaaadeb11cbcb4e8543d4018f4 (diff) |
Fix compilation without CONFIG_PROC_FS. Patch sent to Linus + Alan.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,7 +71,9 @@ static int shm_tot; /* total number of shared memory pages */ void __init shm_init (void) { ipc_init_ids(&shm_ids, 1); +#ifdef CONFIG_PROC_FS create_proc_read_entry("sysvipc/shm", 0, 0, sysvipc_shm_read_proc, NULL); +#endif } static inline int shm_checkid(struct shmid_kernel *s, int id) |