summaryrefslogtreecommitdiff
path: root/kexec/kexec-syscall.h
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2005-11-17 19:13:05 +0530
committerEric W. Biederman <ebiederm@xmission.com>2006-07-27 10:38:15 -0600
commitb5b9a27822e2adea6db7cfd96a796321b2d836bd (patch)
tree14da49ba2aa2c466eb372560e2d7340289e3edc8 /kexec/kexec-syscall.h
parent5b9b3cbab3432e54c5bb242e814e64440ba0c2b3 (diff)
downloadkexec-tools-b5b9a27822e2adea6db7cfd96a796321b2d836bd.tar.gz
kexec-tools: kexec increase max segments limit
o In some cases, the number of segments on kexec load exceeds the existing cap of 8. This patch increases the KEXEC_MAX_SEGMENTS from 8 to 16. Signed-off-by: Rachita Kothiyal <rachita@in.ibm.com> Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Diffstat (limited to 'kexec/kexec-syscall.h')
-rw-r--r--kexec/kexec-syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index 3de05eb..37e2bb1 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -75,6 +75,6 @@ static inline long kexec_reboot(void)
#define KEXEC_ARCH_IA_64 (50 << 16)
#define KEXEC_ARCH_S390 (22 << 16)
-#define KEXEC_MAX_SEGMENTS 8
+#define KEXEC_MAX_SEGMENTS 16
#endif /* KEXEC_SYSCALL_H */