diff options
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ static struct vm_operations_struct shm_vm_ops = { | |||
170 | .open = shm_open, /* callback for a new vm-area open */ | 170 | .open = shm_open, /* callback for a new vm-area open */ |
171 | .close = shm_close, /* callback for when the vm-area is released */ | 171 | .close = shm_close, /* callback for when the vm-area is released */ |
172 | .nopage = shmem_nopage, | 172 | .nopage = shmem_nopage, |
173 | #ifdef CONFIG_NUMA | 173 | #if defined(CONFIG_NUMA) && defined(CONFIG_SHMEM) |
174 | .set_policy = shmem_set_policy, | 174 | .set_policy = shmem_set_policy, |
175 | .get_policy = shmem_get_policy, | 175 | .get_policy = shmem_get_policy, |
176 | #endif | 176 | #endif |