]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: share get_huge_page_tail()
authorAndrea Arcangeli <aarcange@redhat.com>
Mon, 24 Oct 2011 14:54:24 +0000 (01:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 7 Nov 2011 02:40:28 +0000 (13:40 +1100)
commit5438e75ddf2aff353b4ed42b06846c52f4c14873
tree83c0c405c0fef546f1bf72a530fe5300a2e285dd
parent91b157a8004db887280966ca60b56d7f6f7b4102
thp: share get_huge_page_tail()

This avoids duplicating the function in every arch gup_fast.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/mm/gup.c