From: Vivek Goyal - In some cases, the number of segments, on a kexec load, exceeds the existing cap of 8. This patch increases the KEXEC_SEGMENT_MAX limit from 8 to 16. Signed-off-by: Rachita Kothiyal Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton --- include/linux/kexec.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/kexec.h~kexec-increase-max-segment-limit include/linux/kexec.h --- 25/include/linux/kexec.h~kexec-increase-max-segment-limit Thu Nov 17 14:21:18 2005 +++ 25-akpm/include/linux/kexec.h Thu Nov 17 14:21:18 2005 @@ -41,7 +41,7 @@ typedef unsigned long kimage_entry_t; #define IND_DONE 0x4 #define IND_SOURCE 0x8 -#define KEXEC_SEGMENT_MAX 8 +#define KEXEC_SEGMENT_MAX 16 struct kexec_segment { void __user *buf; size_t bufsz; _