diff options
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -298,6 +298,9 @@ static const struct file_operations shm_file_operations = { | |||
298 | .mmap = shm_mmap, | 298 | .mmap = shm_mmap, |
299 | .fsync = shm_fsync, | 299 | .fsync = shm_fsync, |
300 | .release = shm_release, | 300 | .release = shm_release, |
301 | #ifndef CONFIG_MMU | ||
302 | .get_unmapped_area = shm_get_unmapped_area, | ||
303 | #endif | ||
301 | }; | 304 | }; |
302 | 305 | ||
303 | static const struct file_operations shm_file_operations_huge = { | 306 | static const struct file_operations shm_file_operations_huge = { |