ARM: 6523/1: iop: ensure sched_clock() is notrace

Include sched.h to ensure sched_clock() has the notrace
annotation, and mark any functions it calls as notrace
too.
Include sched.h to ensure sched_clock() has the notrace
annotation, and mark any functions it calls as notrace
too.

Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Rabin Vincent and committed by Russell King a5542a0f b9f515e3

+2 -1
+2 -1
arch/arm/plat-iop/time.c
··· 18 18 #include <linux/time.h> 19 19 #include <linux/init.h> 20 20 #include <linux/timex.h> 21 + #include <linux/sched.h> 21 22 #include <linux/io.h> 22 23 #include <linux/clocksource.h> 23 24 #include <linux/clockchips.h> ··· 37 36 /* 38 37 * IOP clocksource (free-running timer 1). 39 38 */ 40 - static cycle_t iop_clocksource_read(struct clocksource *unused) 39 + static cycle_t notrace iop_clocksource_read(struct clocksource *unused) 41 40 { 42 41 return 0xffffffffu - read_tcr1(); 43 42 }