projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: thp: extract split_queue_* into a struct
[linux-2.6-block.git]
/
mm
/
hugetlb_cgroup.c
diff --git
a/mm/hugetlb_cgroup.c
b/mm/hugetlb_cgroup.c
index 68c2f2f3c05b76203fae22ad8cf727482c95216e..f1930fa0b445dae721d9be0139e2b2ba7119ec97 100644
(file)
--- a/
mm/hugetlb_cgroup.c
+++ b/
mm/hugetlb_cgroup.c
@@
-139,7
+139,7
@@
static void hugetlb_cgroup_move_parent(int idx, struct hugetlb_cgroup *h_cg,
if (!page_hcg || page_hcg != h_cg)
goto out;
- nr_pages =
1 << compound_orde
r(page);
+ nr_pages =
compound_n
r(page);
if (!parent) {
parent = root_h_cgroup;
/* root has no limit */