]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8c73e37dfa76fd1121921b5664deaacdc422076c
tree1e5651082607a90345a7f042ed4937c938e11483
parentd0bbc74b0f178aa91da1030bd00711a1ad97c5a8
[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