thp: export maybe_mkwrite
authorAndrea Arcangeli <[email protected]>
Thu, 13 Jan 2011 23:46:37 +0000 (15:46 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm.h
mm/memory.c