]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 32-bit
authorKumar Gala <galak@kernel.crashing.org>
Thu, 31 Jul 2008 13:41:10 +0000 (08:41 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 24 Sep 2008 21:29:42 +0000 (16:29 -0500)
commit9a62c05180ff55fdaa517370c6f077402820406c
treeaa9f04bb2b681f639768ba9f1e61bba5c1493c69
parent9bf2b5cdc5fe5e3136ceeecc85141765023ded6e
powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 32-bit

Implement _PAGE_SPECIAL and pte_special() for 32-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().

We currently only implement this on sub-arch that support SMP or will so
in the future (6xx, 44x, FSL-BookE) and not (8xx, 40x).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable-ppc32.h