From: Benjamin Herrenschmidt Date: Thu, 15 Feb 2007 07:29:32 +0000 (+1100) Subject: [POWERPC] Fix bug with early ioremap and 64k pages X-Git-Tag: v2.6.21-rc1~77^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32525449b30dfbae804f6b05cde041f35f5a811;p=pandora-kernel.git [POWERPC] Fix bug with early ioremap and 64k pages The code for bolting hash entries for ioremap done before proper mm initialization has a grown a bug when using 64K pages on a machine where non-cacheable mappings are demoted to 4K HW pages. The wrong page size index is being passed to the hash table mapping functions causing a crash at boot on some pSeries machines using bare metal linux. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed