aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-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 e3abcec6c51c..d02425cdd801 100644
--- a/include/linux/kexec.h
+++ b/include/linux/kexec.h
@@ -109,6 +109,10 @@ void crash_save_cpu(struct pt_regs *regs, int cpu);
109extern struct kimage *kexec_image; 109extern struct kimage *kexec_image;
110extern struct kimage *kexec_crash_image; 110extern struct kimage *kexec_crash_image;
111 111
112#ifndef kexec_flush_icache_page
113#define kexec_flush_icache_page(page)
114#endif
115
112#define KEXEC_ON_CRASH 0x00000001 116#define KEXEC_ON_CRASH 0x00000001
113#define KEXEC_ARCH_MASK 0xffff0000 117#define KEXEC_ARCH_MASK 0xffff0000
114 118
@@ -134,6 +138,7 @@ extern struct resource crashk_res;
134typedef u32 note_buf_t[MAX_NOTE_BYTES/4]; 138typedef u32 note_buf_t[MAX_NOTE_BYTES/4];
135extern note_buf_t *crash_notes; 139extern note_buf_t *crash_notes;
136 140
141
137#else /* !CONFIG_KEXEC */ 142#else /* !CONFIG_KEXEC */
138struct pt_regs; 143struct pt_regs;
139struct task_struct; 144struct task_struct;