projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: handling Non-LRU pages returned by vm_normal_pages
[linux-2.6-microblaze.git]
/
mm
/
mlock.c
diff --git
a/mm/mlock.c
b/mm/mlock.c
index
716caf8
..
b14e929
100644
(file)
--- a/
mm/mlock.c
+++ b/
mm/mlock.c
@@
-333,7
+333,7
@@
static int mlock_pte_range(pmd_t *pmd, unsigned long addr,
if (!pte_present(*pte))
continue;
page = vm_normal_page(vma, addr, *pte);
- if (!page)
+ if (!page
|| is_zone_device_page(page)
)
continue;
if (PageTransCompound(page))
continue;