git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kprobes: fix error checking of batch registration
[pandora-kernel.git]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index
93ee375
..
23a0ec3
100644
(file)
--- 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;
}