Skip to content

Commit 01d8a74

Browse files
committed
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fix from Catalin Marinas: "Fix flush_icache_range() second argument in machine_kexec() to be an address rather than size" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: fix the flush_icache_range arguments in machine_kexec
2 parents 051e6b7 + d51c214 commit 01d8a74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/machine_kexec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ void machine_kexec(struct kimage *kimage)
177177
* the offline CPUs. Therefore, we must use the __* variant here.
178178
*/
179179
__flush_icache_range((uintptr_t)reboot_code_buffer,
180+
(uintptr_t)reboot_code_buffer +
180181
arm64_relocate_new_kernel_size);
181182

182183
/* Flush the kimage list and its buffers. */

0 commit comments

Comments
 (0)