]> 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, 26 Jun 2014 00:42:35 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:35 +0000 (10:42 +1000)
commit64a6bb27dfeb655d91a069f85264c9f376aab9ad
tree9b3b5a10a450f7d34a9553ab8b9b24b6afe430df
parent80e7f8765524d84504beff040d5aed9476f8e2e7
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