]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm, hugetlb: define page_hstate for !HUGETLB_PAGE
authorJiri Slaby <jslaby@suse.cz>
Thu, 2 Apr 2015 09:22:07 +0000 (11:22 +0200)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 11:13:54 +0000 (13:13 +0200)
commit04240adfe44b8a38c21ca0972ef620254b931e25
tree1fd8d1c3e8df22d459f2c1ae6a46168ababaabc8
parenta5ff308f459c531704a133e1816cd80447c33329
mm, hugetlb: define page_hstate for !HUGETLB_PAGE

This is a single hunk introduced later in the upstream commit
cb900f41215447433cbc456d1c4294e858a84d7c (mm, hugetlb: convert
hugetlbfs to use split pmd lock). We need page_hstate even for
!HUGETLB_PAGE case for the next patch (mm: thp: give transparent
hugepage code a separate copy_page).

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/linux/hugetlb.h