summaryrefslogtreecommitdiff
path: root/arch/loongarch/vdso
diff options
context:
space:
mode:
authorFeiyang Chen <chenfeiyang@loongson.cn>2023-09-06 22:53:55 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-09-06 22:53:55 +0800
commit2363088eba2ecccfb643725e4864af73c4226a04 (patch)
tree71c43f8873630e8f03fefc6ee544bdad61f6500e /arch/loongarch/vdso
parentb72961f847c0f0df113ae2d6ac9fd6b1e6bdeaf2 (diff)
LoongArch: Allow building with kcov coverage
Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the LoongArch Kconfig. And also disable instrumentation of vdso. Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/vdso')
-rw-r--r--arch/loongarch/vdso/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/vdso/Makefile b/arch/loongarch/vdso/Makefile
index a50308b6fc25..d8b75f07c869 100644
--- a/arch/loongarch/vdso/Makefile
+++ b/arch/loongarch/vdso/Makefile
@@ -1,6 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
# Objects to go into the VDSO.
+KCOV_INSTRUMENT := n
+
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile