From: akpm@osdl.org Date: Tue, 10 Jan 2006 04:51:51 +0000 (-0800) Subject: [PATCH] kexec: increase max segment limit X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=720e1a9f1c3bfa9f72cded56962e7f092fefaaed;p=openwrt%2Fstaging%2Fblogic.git [PATCH] kexec: increase max segment limit ) 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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/kexec.h b/include/linux/kexec.h index c1cd9b31159e..94abc07cb164 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h @@ -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;