thp: clear_copy_huge_page
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:47 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:41 +0000 (17:32 -0800)
commit47ad8475c000141eacb3ecda5e5ce4b43a9cd04d
tree78c29aaf2ae9340e314a25ea08e9724471cf4414
parent3f04f62f90d46a82dd73027c5fd7a15daed5c33d
thp: clear_copy_huge_page

Move the copy/clear_huge_page functions to common code to share between
hugetlb.c and huge_memory.c.

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