diff options
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r-- | include/linux/kexec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index c8468472aec0..a311f58c8a7c 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h | |||
@@ -41,7 +41,7 @@ typedef unsigned long kimage_entry_t; | |||
41 | #define IND_DONE 0x4 | 41 | #define IND_DONE 0x4 |
42 | #define IND_SOURCE 0x8 | 42 | #define IND_SOURCE 0x8 |
43 | 43 | ||
44 | #define KEXEC_SEGMENT_MAX 8 | 44 | #define KEXEC_SEGMENT_MAX 16 |
45 | struct kexec_segment { | 45 | struct kexec_segment { |
46 | void __user *buf; | 46 | void __user *buf; |
47 | size_t bufsz; | 47 | size_t bufsz; |
@@ -119,12 +119,15 @@ extern struct kimage *kexec_image; | |||
119 | #define KEXEC_ARCH_PPC64 (21 << 16) | 119 | #define KEXEC_ARCH_PPC64 (21 << 16) |
120 | #define KEXEC_ARCH_IA_64 (50 << 16) | 120 | #define KEXEC_ARCH_IA_64 (50 << 16) |
121 | #define KEXEC_ARCH_S390 (22 << 16) | 121 | #define KEXEC_ARCH_S390 (22 << 16) |
122 | #define KEXEC_ARCH_SH (42 << 16) | ||
122 | 123 | ||
123 | #define KEXEC_FLAGS (KEXEC_ON_CRASH) /* List of defined/legal kexec flags */ | 124 | #define KEXEC_FLAGS (KEXEC_ON_CRASH) /* List of defined/legal kexec flags */ |
124 | 125 | ||
125 | /* Location of a reserved region to hold the crash kernel. | 126 | /* Location of a reserved region to hold the crash kernel. |
126 | */ | 127 | */ |
127 | extern struct resource crashk_res; | 128 | extern struct resource crashk_res; |
129 | typedef u32 note_buf_t[MAX_NOTE_BYTES/4]; | ||
130 | extern note_buf_t *crash_notes; | ||
128 | 131 | ||
129 | #else /* !CONFIG_KEXEC */ | 132 | #else /* !CONFIG_KEXEC */ |
130 | struct pt_regs; | 133 | struct pt_regs; |