]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: fix the flush_icache_range arguments in machine_kexec
authorChristoph Hellwig <hch@lst.de>
Thu, 21 May 2020 14:44:34 +0000 (15:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 14:41:53 +0000 (16:41 +0200)
commita5233a3fee3b6afb9aed3aa8db81e271a6dca9ef
tree511697a5f62231f606114ef6e3d4b77aa18c8276
parentbae3b5078a8782865316d4a3fc3c1f95d063cd3a
arm64: fix the flush_icache_range arguments in machine_kexec

Commit d51c214541c5154dda3037289ee895ea3ded5ebd upstream.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/machine_kexec.c