diff options
Diffstat (limited to 'include/linux/kexec.h')
| -rw-r--r-- | include/linux/kexec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index c8468472aec0..94abc07cb164 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; |
| @@ -125,6 +125,8 @@ extern struct kimage *kexec_image; | |||
| 125 | /* Location of a reserved region to hold the crash kernel. | 125 | /* Location of a reserved region to hold the crash kernel. |
| 126 | */ | 126 | */ |
| 127 | extern struct resource crashk_res; | 127 | extern struct resource crashk_res; |
| 128 | typedef u32 note_buf_t[MAX_NOTE_BYTES/4]; | ||
| 129 | extern note_buf_t *crash_notes; | ||
| 128 | 130 | ||
| 129 | #else /* !CONFIG_KEXEC */ | 131 | #else /* !CONFIG_KEXEC */ |
| 130 | struct pt_regs; | 132 | struct pt_regs; |
