arm64: entry: fix KCOV suppression
authorMark Rutland <mark.rutland@arm.com>
Thu, 15 Jul 2021 12:30:49 +0000 (13:30 +0100)
committerWill Deacon <will@kernel.org>
Thu, 15 Jul 2021 16:37:55 +0000 (17:37 +0100)
commite6f85cbeb23bd74b8966cf1f15bf7d01399ff625
tree6e219fbc9ce7ba628e6539327708d29d7762b70d
parent31a7f0f6c8f392f002c937f34f372943cf8be5a9
arm64: entry: fix KCOV suppression

We suppress KCOV for entry.o rather than entry-common.o. As entry.o is
built from entry.S, this is pointless, and permits instrumentation of
entry-common.o, which is built from entry-common.c.

Fix the Makefile to suppress KCOV for entry-common.o, as we had intended
to begin with. I've verified with objdump that this is working as
expected.

Fixes: bf6fa2c0dda7 ("arm64: entry: don't instrument entry code with KCOV")
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210715123049.9990-1-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/Makefile