summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/vdso/Makefile
diff options
context:
space:
mode:
authorRohan McLure <rmclure@linux.ibm.com>2023-02-06 13:17:57 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2023-02-10 22:19:56 +1100
commit2fb857bc9f9e106439017ed323f522cc785395bb (patch)
treed22bb827d0ab233092e318abf0591f5b14bf6c8c /arch/powerpc/kernel/vdso/Makefile
parent1ee4e35076e36724a62ba2fa29b722fb53eb68f2 (diff)
powerpc/kcsan: Add exclusions from instrumentation
Exclude various incompatible compilation units from KCSAN instrumentation. Signed-off-by: Rohan McLure <rmclure@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230206021801.105268-2-rmclure@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/vdso/Makefile')
-rw-r--r--arch/powerpc/kernel/vdso/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vdso/Makefile b/arch/powerpc/kernel/vdso/Makefile
index 6a977b0d8ffc..3a2f32929fcf 100644
--- a/arch/powerpc/kernel/vdso/Makefile
+++ b/arch/powerpc/kernel/vdso/Makefile
@@ -46,6 +46,7 @@ GCOV_PROFILE := n
KCOV_INSTRUMENT := n
UBSAN_SANITIZE := n
KASAN_SANITIZE := n
+KCSAN_SANITIZE := n
ccflags-y := -shared -fno-common -fno-builtin -nostdlib -Wl,--hash-style=both
ccflags-$(CONFIG_LD_IS_LLD) += $(call cc-option,--ld-path=$(LD),-fuse-ld=lld)