diff options
Diffstat (limited to 'kernel/kexec.c')
-rw-r--r-- | kernel/kexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index fcdd5d2bc3f4..05aada293592 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c | |||
@@ -851,6 +851,7 @@ static int kimage_load_crash_segment(struct kimage *image, | |||
851 | memset(ptr + uchunk, 0, mchunk - uchunk); | 851 | memset(ptr + uchunk, 0, mchunk - uchunk); |
852 | } | 852 | } |
853 | result = copy_from_user(ptr, buf, uchunk); | 853 | result = copy_from_user(ptr, buf, uchunk); |
854 | kexec_flush_icache_page(page); | ||
854 | kunmap(page); | 855 | kunmap(page); |
855 | if (result) { | 856 | if (result) { |
856 | result = (result < 0) ? result : -EIO; | 857 | result = (result < 0) ? result : -EIO; |