]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Don't use 64k pages for ioremap on pSeries
authorPaul Mackerras <paulus@samba.org>
Mon, 24 Mar 2008 06:41:22 +0000 (17:41 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 24 Mar 2008 06:41:22 +0000 (17:41 +1100)
commit339a037bc1d1edf204a9205c9193ba9f9a886b65
tree68ee9f4fe54810b82b8b4ef5f8f0f164c03ae988
parent17d0f8c496a7059ba5d797bc01732f282af1ed6b
[POWERPC] Don't use 64k pages for ioremap on pSeries

On pSeries, the hypervisor doesn't let us map in the eHEA ethernet
adapter using 64k pages, and thus the ehea driver will fail if 64k
pages are configured.  This works around the problem by always
using 4k pages for ioremap on pSeries (but not on other platforms).
A better fix would be to check whether the partition could ever
have an eHEA adapter, and only force 4k pages if it could, but this
will do for 2.6.25.

This is based on an earlier patch by Tony Breeds.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c