powerpc/time: Fix tracing in time.c
authorSantosh Sivaraj <santosh@fossix.org>
Tue, 20 Jun 2017 07:44:47 +0000 (13:14 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Jun 2017 10:37:27 +0000 (20:37 +1000)
commit6b847d795cf4ab3e574f4fcf7193fe245908a195
treec75357373a499d9b370ac337faf67f1118a58b74
parentfd88b945c18866962645d09dfc401e91e13b1909
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>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/time.c