]> git.baikalelectronics.ru Git - kernel.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)
commitd3c4f963e319974e187ba97ba53668c6d301f435
treecd016a215b2df2785846f85b0d19bd4baed27bd4
parent834d4489a4f24dc77dcddb4e0c0ec45a5b42874f
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