Commit 44231b7f authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Set DISABLE_BRANCH_PROFILING in VDSO CFLAGS.



Not in vclock_gettime.c itself.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3fe5d7e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)

+0 −5
Original line number Diff line number Diff line
@@ -12,11 +12,6 @@
 * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
 */

/* Disable profiling for userspace code: */
#ifndef	DISABLE_BRANCH_PROFILING
#define	DISABLE_BRANCH_PROFILING
#endif

#include <linux/kernel.h>
#include <linux/time.h>
#include <linux/string.h>