diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-07-31 16:54:28 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-20 09:50:21 +1000 |
commit | 7230ced4925b07c259a62b515d8278c6bb1ad98c (patch) | |
tree | 7d1afdc5dac4ccc3481a8a22b86d2bb2f548bd4d /arch/powerpc/kernel/ibmebus.c | |
parent | d82bf490948eaf10023ff850d0b5c70e49e0ba76 (diff) | |
download | linux-7230ced4925b07c259a62b515d8278c6bb1ad98c.tar.gz linux-7230ced4925b07c259a62b515d8278c6bb1ad98c.tar.bz2 linux-7230ced4925b07c259a62b515d8278c6bb1ad98c.zip |
powerpc: Fix /dev/oldmem interface for kdump
A change to __ioremap() broke reading /dev/oldmem because we're no
longer able to ioremap pfn 0 (d177c207, "[PATCH] powerpc: IOMMU: don't
ioremap null addresses").
We actually don't need to ioremap for anything that's part of the linear
mapping, so just read it directly.
Also make sure we're only reading one page or less at a time.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/ibmebus.c')
0 files changed, 0 insertions, 0 deletions