diff options
| author | Heiko Carstens <[email protected]> | 2013-06-19 07:16:54 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2013-06-19 13:36:16 +0000 |
| commit | 35b03aec919c952e67b0b093638e0d79b468f9bc (patch) | |
| tree | 34b38d974ccb0b3d267d338041397e8eecc720d9 /lib/debug_locks.c | |
| parent | s390/dma: support debug_dma_mapping_error (diff) | |
| download | kernel-35b03aec919c952e67b0b093638e0d79b468f9bc.tar.gz kernel-35b03aec919c952e67b0b093638e0d79b468f9bc.zip | |
s390/mem_detect: fix memory hole handling
With git commit 996b4a7d "s390/mem_detect: remove artificial kdump
memory types" the memory detection code got simplified.
As a side effect the array that describes memory chunks may now
contain empty (zeroed) entries.
All call sites can handle this except for
drivers/s390/char/zcore.c::zcore_memmap_open
which has a really odd user space interface. The easiest fix is to
change the memory hole handling code, so that no empty entries exist
before the last valid entry is reached.
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions
