From: Nick Piggin Date: Mon, 28 Jul 2008 03:28:03 +0000 (-0700) Subject: powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 64-bit X-Git-Tag: v2.6.27-rc1~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83ac6a1ed40bfbe185cf2bac5505d8d97aad8b1d;p=pandora-kernel.git powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 64-bit Implement _PAGE_SPECIAL and pte_special() for 64-bit powerpc. This bit will be used by the fast get_user_pages() to differenciate PTEs that correspond to a valid struct page from special mappings that don't such as IO mappings obtained via io_remap_pfn_ranges(). Signed-off-by: Nick Piggin Acked-by: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Hugh Dickins Cc: "Paul E. McKenney" Reviewed-by: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed