X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=ipc%2Fshm.c;h=23256b8558193c9fcdaa2761c1b81345af090b0d;hb=3e0b33f786e7f950f2430a305169f3db4a1a5521;hp=92fe9236258b15192fe78ae615891c624b91c036;hpb=78a5331dddcffabadef024ccc051f7a519b13238;p=firefly-linux-kernel-4.4.55.git diff --git a/ipc/shm.c b/ipc/shm.c index 92fe9236258b..23256b855819 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -298,6 +298,9 @@ static const struct file_operations shm_file_operations = { .mmap = shm_mmap, .fsync = shm_fsync, .release = shm_release, +#ifndef CONFIG_MMU + .get_unmapped_area = shm_get_unmapped_area, +#endif }; static const struct file_operations shm_file_operations_huge = {