aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r--include/linux/kexec.h5
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 *);
108extern struct kimage *kexec_image; 108extern struct kimage *kexec_image;
109extern struct kimage *kexec_crash_image; 109extern 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;
133typedef u32 note_buf_t[MAX_NOTE_BYTES/4]; 137typedef u32 note_buf_t[MAX_NOTE_BYTES/4];
134extern note_buf_t *crash_notes; 138extern note_buf_t *crash_notes;
135 139
140
136#else /* !CONFIG_KEXEC */ 141#else /* !CONFIG_KEXEC */
137struct pt_regs; 142struct pt_regs;
138struct task_struct; 143struct task_struct;