]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Disable 64K hugetlb support when doing 64K SPU mappings
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:13:18 +0000 (16:13 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:53 +0000 (16:30 +1000)
commit00df438e89a9003895948170e1abf64dd4665872
treecd016a215b2df2785846f85b0d19bd4baed27bd4
parent025d7917a5ede982a5669c6735ef73a227b9827e
powerpc: Disable 64K hugetlb support when doing 64K SPU mappings

The 64K SPU local store mapping feature is incompatible with the
64K huge pages support due to the inability of some parts of
the memory management to differenciate between them while they
use a different page table format.

For now, disable 64K huge pages when CONFIG_SPU_FS_64K_LS,
in the long run, this can be fixed by making this feature use
the hugetlb page table format.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hugetlbpage.c