thp: add pmd mangling generic functions
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:40 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:40 +0000 (17:32 -0800)
commite2cda322648122dc400c85ada80eaddbc612ef6a
tree016981ea6d9d3f7448bd9e04720184b14a79302c
parent5f6e8da70a289d403975907371ce5738c726ad3f
thp: add pmd mangling generic functions

Some are needed to build but not actually used on archs not supporting
transparent hugepages.  Others like pmdp_clear_flush are used by x86 too.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/pgtable.h
mm/Makefile
mm/pgtable-generic.c [new file with mode: 0644]