]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-hugetlbfs-fix-rmapping-for-anonymous-hugepages-with-page_pgoff-v2
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Thu, 22 May 2014 00:42:38 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:38 +0000 (10:42 +1000)
commita43bdcf5a437f74bd4db3322adfb1ad18aca31b3
tree0dd4b074268182ca5a371a8bb8318195c942a44e
parent5f27701bc5241cbd250031f4841edfd4b6170411
mm-hugetlbfs-fix-rmapping-for-anonymous-hugepages-with-page_pgoff-v2

- fix wrong shift direction
- introduce page_size_order() and huge_page_size_order()
- move the declaration of PageHuge() to include/linux/hugetlb_inline.h
  to avoid macro definition.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/hugetlb.h
include/linux/hugetlb_inline.h
include/linux/pagemap.h
mm/hugetlb.c