diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-03-31 11:12:53 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-04-30 09:34:16 +0900 |
commit | 1a4e90ba221684e563bf1baf06f3547cd95e60b0 (patch) | |
tree | 42eb0b4c8754156cc797601699cf6c1ed8907c5f /kexec/kexec-syscall.h | |
parent | e25e6e7593cae350ecaa3fcd6d20c7de87f4c309 (diff) |
Revert "kexec: include reserved e820 sections in crash kernel"
This reverts commit e35aa29fb40b37bf86d980b2e19af5e01c2d2549.
This patch is based on the commit 49320340f705694e387d794f7f19d407ad9baefa
"kexec: lengthen the kernel command line image"
Since the latter commit has been reverted due to its useless, this
patch should be reverted too.
Besides, This patch also changed a kernel restriction of max segments
from 16 to 70. Though kexec-tools could have more segments, more than 16,
the kexec_load syscall will still fail for the kernel side has a restriction
of 16.
Cc: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-syscall.h')
-rw-r--r-- | kexec/kexec-syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h index f5ee992..b56cb00 100644 --- a/kexec/kexec-syscall.h +++ b/kexec/kexec-syscall.h @@ -78,7 +78,7 @@ static inline long kexec_load(void *entry, unsigned long nr_segments, #define KEXEC_ARCH_MIPS ( 8 << 16) #define KEXEC_ARCH_CRIS (76 << 16) -#define KEXEC_MAX_SEGMENTS 70 +#define KEXEC_MAX_SEGMENTS 16 #ifdef __i386__ #define KEXEC_ARCH_NATIVE KEXEC_ARCH_386 |