diff options
author | Wanpeng Li | 2013-07-04 00:02:43 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-07-04 01:07:32 +0200 |
commit | 2415cf12e04d415b16d9c2f2a705bcd6cd9a0474 (patch) | |
tree | d533c49c5a011f3802a389e5bb55ede9d9b173bf /kernel | |
parent | mm/hugetlb: remove hugetlb_prefault (diff) | |
download | kernel-qcow2-linux-2415cf12e04d415b16d9c2f2a705bcd6cd9a0474.tar.gz kernel-qcow2-linux-2415cf12e04d415b16d9c2f2a705bcd6cd9a0474.tar.xz kernel-qcow2-linux-2415cf12e04d415b16d9c2f2a705bcd6cd9a0474.zip |
mm/hugetlb: use already existing interface huge_page_shift
Use the already existing interface huge_page_shift instead of h->order +
PAGE_SHIFT.
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions