summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorSantosh Sivaraj2017-06-20 09:44:47 +0200
committerMichael Ellerman2017-06-21 12:37:27 +0200
commit6b847d795cf4ab3e574f4fcf7193fe245908a195 (patch)
treec75357373a499d9b370ac337faf67f1118a58b74 /arch/powerpc/kernel/Makefile
parentpowerpc/64s: Rename slb_allocate_realmode() to slb_allocate() (diff)
downloadkernel-qcow2-linux-6b847d795cf4ab3e574f4fcf7193fe245908a195.tar.gz
kernel-qcow2-linux-6b847d795cf4ab3e574f4fcf7193fe245908a195.tar.xz
kernel-qcow2-linux-6b847d795cf4ab3e574f4fcf7193fe245908a195.zip
powerpc/time: Fix tracing in time.c
Since trace_clock is in a different file and already marked with notrace, enable tracing in time.c by removing it from the disabled list in Makefile. Also annotate clocksource read functions and sched_clock with notrace. Testing: Timer and ftrace selftests run with different trace clocks. Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Santosh Sivaraj <santosh@fossix.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index e132902e1f14..0845eebc5af3 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -25,8 +25,6 @@ CFLAGS_REMOVE_cputable.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
CFLAGS_REMOVE_prom_init.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
CFLAGS_REMOVE_btext.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
CFLAGS_REMOVE_prom.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
-# timers used by tracing
-CFLAGS_REMOVE_time.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
endif
obj-y := cputable.o ptrace.o syscalls.o \