diff options
author | Nikita Yushchenko <nyushchenko@dev.rtsoft.ru> | 2014-03-07 11:40:33 +0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-04-10 08:21:49 +0900 |
commit | a6e931dc0f0d6da0f591defc213b34e93240497e (patch) | |
tree | fb9118907e701dcf679251d3fc3eb3ae69304672 /kexec/arch/i386/x86-linux-setup.c | |
parent | 7d33c8933ebf8e1788ffff0132b6e08a2388748c (diff) |
kexec/ppc: cleanup crash regions creation
Move filling crash_memory_range table entries into a separate routine,
which saves quite a few lines of code.
In this routine, if range spawns over lowmem-highmem border, split range
into two. This is needed to get proper virtual address for lowmem part.
Similar thing is already done for x86. Credits to Yadviga Grigorieva
<yadviga@dev.rtsoft.ru> for tracking down this issue for ppc.
Also this patch makes excluding crash kernel regoin a bit shorter, and
removes unused variable to get rid of compiler warning.
Signed-off-by: Nikita Yushchenko <nyushchenko@dev.rtsoft.ru>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/x86-linux-setup.c')
0 files changed, 0 insertions, 0 deletions