]> git.baikalelectronics.ru Git - kernel.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)
commita567e48879237d7e2bf98b28a7eab5a8b2f538cc
treeaa9f04bb2b681f639768ba9f1e61bba5c1493c69
parentf169b77966d323f49dcd3d33fc746cbbddaf0d82
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