]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12c1b6f3a9ebaf0999360cb48e6fb9b46e48800d
tree6e219fbc9ce7ba628e6539327708d29d7762b70d
parentd4cfbffdae0bebd047ead007d60ab6e1b0551bc6
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: 377724eda65f ("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