]> 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>
Fri, 4 Nov 2011 04:48:19 +0000 (15:48 +1100)
commit3beca2a9a363ecdfd357b9ad524853a21b36b737
treebea019f612c531c84312b6c964a21e3f93003a4f
parentbb1c12d06c112d583c08932ec366e2754358c0f5
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