diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/page.c b/fs/proc/page.c index b8730d9ebaee..2a8cc94bb641 100644 --- a/fs/proc/page.c +++ b/fs/proc/page.c | |||
@@ -121,7 +121,7 @@ u64 stable_page_flags(struct page *page) | |||
121 | * just checks PG_head/PG_tail, so we need to check PageLRU to make | 121 | * just checks PG_head/PG_tail, so we need to check PageLRU to make |
122 | * sure a given page is a thp, not a non-huge compound page. | 122 | * sure a given page is a thp, not a non-huge compound page. |
123 | */ | 123 | */ |
124 | else if (PageTransCompound(page) && PageLRU(compound_trans_head(page))) | 124 | else if (PageTransCompound(page) && PageLRU(compound_head(page))) |
125 | u |= 1 << KPF_THP; | 125 | u |= 1 << KPF_THP; |
126 | 126 | ||
127 | /* | 127 | /* |