thp: export maybe_mkwrite
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:37 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:39 +0000 (17:32 -0800)
commit14fd403f2146f740942d78af4e0ee59396ad8eab
treec87734f6c6639684208d36548aa3687c6f460e23
parent2609ae6d10af0531e826335bd1445d1ace17c847
thp: export maybe_mkwrite

huge_memory.c needs it too when it fallbacks in copying hugepages into
regular fragmented pages if hugepage allocation fails during COW.

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/linux/mm.h
mm/memory.c