Commit 720e1a9f authored by akpm@osdl.org's avatar akpm@osdl.org Committed by Linus Torvalds

[PATCH] kexec: increase max segment limit

)

From: Vivek Goyal <vgoyal@in.ibm.com>

- 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: default avatarRachita Kothiyal <rachita@in.ibm.com>
Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4ae362be
...@@ -41,7 +41,7 @@ typedef unsigned long kimage_entry_t; ...@@ -41,7 +41,7 @@ typedef unsigned long kimage_entry_t;
#define IND_DONE 0x4 #define IND_DONE 0x4
#define IND_SOURCE 0x8 #define IND_SOURCE 0x8
#define KEXEC_SEGMENT_MAX 8 #define KEXEC_SEGMENT_MAX 16
struct kexec_segment { struct kexec_segment {
void __user *buf; void __user *buf;
size_t bufsz; size_t bufsz;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment