[PATCH] shm: CONFIG_SHMEM=n build fix
authorAndrew Morton <akpm@osdl.org>
Tue, 2 Aug 2005 04:11:45 +0000 (21:11 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 Aug 2005 04:38:00 +0000 (21:38 -0700)
commit6ade43fbbcc3c12f0ddba112351d14d6c82ae476
tree1e5651082607a90345a7f042ed4937c938e11483
parent39bbb07d7c0cf3e374831d1474e2246d9cabd931
[PATCH] shm: CONFIG_SHMEM=n build fix

Fix bug found by Grant Coady <lkml@dodo.com.au>'s autobuild setup.

shmem_set_policy() and shmem_get_policy() are macros if !CONFIG_SHMEM, so this
doesn't work.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
ipc/shm.c