SHA256
1
0
forked from pool/kexec-tools
kexec-tools/kexec-tools-increase-kernel-text-size.diff
OBS User autobuild a5d626ae36 Accepting request 17510 from Kernel:kdump
Copy from Kernel:kdump/kexec-tools based on submit request 17510 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/17510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=71
2009-08-12 23:52:55 +00:00

14 lines
566 B
Diff

diff --git a/kexec/arch/x86_64/crashdump-x86_64.h b/kexec/arch/x86_64/crashdump-x86_64.h
index 9f4dee9..0e83527 100644
--- a/kexec/arch/x86_64/crashdump-x86_64.h
+++ b/kexec/arch/x86_64/crashdump-x86_64.h
@@ -11,7 +11,7 @@ int load_crashdump_segments(struct kexec_info *info, char *mod_cmdline,
#define MAXMEM 0x3fffffffffffUL
/* Kernel text size */
-#define KERNEL_TEXT_SIZE (40UL*1024*1024)
+#define KERNEL_TEXT_SIZE (512UL*1024*1024)
#define CRASH_MAX_MEMMAP_NR (KEXEC_MAX_SEGMENTS + 1)
#define CRASH_MAX_MEMORY_RANGES (MAX_MEMORY_RANGES + 2)