diff options
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r-- | include/linux/kexec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index a4ede62b339d..e14cd388c65b 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h | |||
@@ -108,6 +108,10 @@ int kexec_should_crash(struct task_struct *); | |||
108 | extern struct kimage *kexec_image; | 108 | extern struct kimage *kexec_image; |
109 | extern struct kimage *kexec_crash_image; | 109 | extern struct kimage *kexec_crash_image; |
110 | 110 | ||
111 | #ifndef kexec_flush_icache_page | ||
112 | #define kexec_flush_icache_page(page) | ||
113 | #endif | ||
114 | |||
111 | #define KEXEC_ON_CRASH 0x00000001 | 115 | #define KEXEC_ON_CRASH 0x00000001 |
112 | #define KEXEC_ARCH_MASK 0xffff0000 | 116 | #define KEXEC_ARCH_MASK 0xffff0000 |
113 | 117 | ||
@@ -133,6 +137,7 @@ extern struct resource crashk_res; | |||
133 | typedef u32 note_buf_t[MAX_NOTE_BYTES/4]; | 137 | typedef u32 note_buf_t[MAX_NOTE_BYTES/4]; |
134 | extern note_buf_t *crash_notes; | 138 | extern note_buf_t *crash_notes; |
135 | 139 | ||
140 | |||
136 | #else /* !CONFIG_KEXEC */ | 141 | #else /* !CONFIG_KEXEC */ |
137 | struct pt_regs; | 142 | struct pt_regs; |
138 | struct task_struct; | 143 | struct task_struct; |