summaryrefslogtreecommitdiffstats
path: root/arch/sparc/vdso/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-22 07:14:01 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-23 00:51:45 +0200
commit44231b7fee3f086cf367588c7c79ec3b5d7619b2 (patch)
tree0640eac8bec7bcf649aec0bc516904f189553a7d /arch/sparc/vdso/Makefile
parentsparc: Don't bother masking out TICK_PRIV_BIT in VDSO code. (diff)
downloadlinux-44231b7fee3f086cf367588c7c79ec3b5d7619b2.tar.xz
linux-44231b7fee3f086cf367588c7c79ec3b5d7619b2.zip
sparc: Set DISABLE_BRANCH_PROFILING in VDSO CFLAGS.
Not in vclock_gettime.c itself. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/vdso/Makefile')
-rw-r--r--arch/sparc/vdso/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/vdso/Makefile b/arch/sparc/vdso/Makefile
index dc85570d8839..7ea03dd2bd62 100644
--- a/arch/sparc/vdso/Makefile
+++ b/arch/sparc/vdso/Makefile
@@ -58,7 +58,8 @@ CFL := $(PROFILING) -mcmodel=medlow -fPIC -O2 -fasynchronous-unwind-tables \
-m64 -ffixed-g2 -ffixed-g3 -fcall-used-g4 -fcall-used-g5 -ffixed-g6 \
-ffixed-g7 $(filter -g%,$(KBUILD_CFLAGS)) \
$(call cc-option, -fno-stack-protector) -fno-omit-frame-pointer \
- -foptimize-sibling-calls -DBUILD_VDSO
+ -foptimize-sibling-calls \
+ -DDISABLE_BRANCH_PROFILING -DBUILD_VDSO
$(vobjs): KBUILD_CFLAGS += $(CFL)