OSDN Git Service

arm64: fix the flush_icache_range arguments in machine_kexec
authorChristoph Hellwig <hch@lst.de>
Sun, 10 May 2020 07:54:41 +0000 (09:54 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 11 May 2020 11:02:14 +0000 (12:02 +0100)
commitd51c214541c5154dda3037289ee895ea3ded5ebd
treeaae8f02506a0efd7cb30d0f850b9df78a482e047
parent027d0c7101f50cf03aeea9eebf484afd4920c8d3
arm64: fix the flush_icache_range arguments in machine_kexec

The second argument is the end "pointer", not the length.

Fixes: d28f6df1305a ("arm64/kexec: Add core kexec support")
Cc: <stable@vger.kernel.org> # 4.8.x-
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/machine_kexec.c