projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595ad9a
)
x86, kdump: Remove crashkernel range find limit for 64bit
author
Yinghai Lu
<yinghai@kernel.org>
Thu, 24 Jan 2013 20:20:10 +0000
(12:20 -0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 30 Jan 2013 03:32:58 +0000
(19:32 -0800)
Now kexeced kernel/ramdisk could be above 4g, so remove 896 limit for
64bit.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link:
http://lkml.kernel.org/r/1359058816-7615-30-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/setup.c
b/arch/x86/kernel/setup.c
index bbe8cdf7515e3612d38aa73fe9529f6b1097e35d..4778ddeedc8aef6c1e01c17b14fff44645ab609d 100644
(file)
--- a/
arch/x86/kernel/setup.c
+++ b/
arch/x86/kernel/setup.c
@@
-501,13
+501,11
@@
static void __init memblock_x86_reserve_range_setup_data(void)
/*
* Keep the crash kernel below this limit. On 32 bits earlier kernels
* would limit the kernel to the low 512 MiB due to mapping restrictions.
- * On 64 bits, kexec-tools currently limits us to 896 MiB; increase this
- * limit once kexec-tools are fixed.
*/
#ifdef CONFIG_X86_32
# define CRASH_KERNEL_ADDR_MAX (512 << 20)
#else
-# define CRASH_KERNEL_ADDR_MAX
(896 << 20)
+# define CRASH_KERNEL_ADDR_MAX
MAXMEM
#endif
static void __init reserve_crashkernel(void)