timers, sched/clock: Remove redundant notrace from update function
authorDaniel Thompson <[email protected]>
Thu, 26 Mar 2015 19:23:25 +0000 (12:23 -0700)
committerIngo Molnar <[email protected]>
Fri, 27 Mar 2015 07:33:59 +0000 (08:33 +0100)
Currently update_sched_clock() is marked as notrace but this
function is not called by ftrace. This is trivially fixed by
removing the mark up.

Signed-off-by: Daniel Thompson <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russell King <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/time/sched_clock.c

index 52ea5d976393b782333cfeb1ad332d065ce999bc..8adb9d0c969aea6a2cf605935064a2b2299c10b6 100644 (file)
@@ -111,7 +111,7 @@ unsigned long long notrace sched_clock(void)
 /*
  * Atomically update the sched_clock epoch.
  */
-static void notrace update_sched_clock(void)
+static void update_sched_clock(void)
 {
        unsigned long flags;
        u64 cyc;