X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmadvise.c;h=23a0ec3e0ea07bb0f37a001bc1f7e5a683172c22;hb=c25bd29805f4d854c3a0b4176813f3c1bff569d3;hp=93ee375b38e7edc7b414b7a2b6891411a45d0b0c;hpb=b4b613fd83853f8c688b3de20ab1a42331257975;p=linux-2.6-omap-h63xx.git diff --git a/mm/madvise.c b/mm/madvise.c index 93ee375b38e..23a0ec3e0ea 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -112,7 +112,7 @@ static long madvise_willneed(struct vm_area_struct * vma, if (!file) return -EBADF; - if (file->f_mapping->a_ops->get_xip_page) { + if (file->f_mapping->a_ops->get_xip_mem) { /* no bad return value, but ignore advice */ return 0; }