OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'usb-5.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[uclinux-h8/linux.git]
/
mm
/
util.c
diff --git
a/mm/util.c
b/mm/util.c
index
4df23d6
..
1ea0551
100644
(file)
--- a/
mm/util.c
+++ b/
mm/util.c
@@
-478,7
+478,7
@@
bool page_mapped(struct page *page)
return true;
if (PageHuge(page))
return false;
- for (i = 0; i <
hpage_nr_pages(page
); i++) {
+ for (i = 0; i <
(1 << compound_order(page)
); i++) {
if (atomic_read(&page[i]._mapcount) >= 0)
return true;
}