summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/ppc-pci.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-11-10 11:12:11 +1100
committerPaul Mackerras <paulus@samba.org>2005-11-10 11:26:06 +1100
commit77ac166fba909d520b9a21dcc28cb49081e31033 (patch)
treed167696a56a4acd32dba3b875996cebcdba1cedd /include/asm-powerpc/ppc-pci.h
parentc44bc68dc0d2ca95e48b7242fef48200cd03352d (diff)
downloadlinux-3.10-77ac166fba909d520b9a21dcc28cb49081e31033.tar.gz
linux-3.10-77ac166fba909d520b9a21dcc28cb49081e31033.tar.bz2
linux-3.10-77ac166fba909d520b9a21dcc28cb49081e31033.zip
[PATCH] ppc64: Don't panic when early __ioremap fails
Early calls to __ioremap() will panic if the hash insertion fails. This patch makes them return NULL instead. It happens with some pSeries users who enabled CONFIG_BOOTX_TEXT. The later is getting an incorrect address for the fame buffer and the hash insertion fails. With this patch, it will display an error instead of crashing at boot. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/ppc-pci.h')
0 files changed, 0 insertions, 0 deletions