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 /drivers/serial | |
parent | d82bf490948eaf10023ff850d0b5c70e49e0ba76 (diff) |
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 'drivers/serial')
0 files changed, 0 insertions, 0 deletions