Source
90
90
static int csky_mptimer_dying_cpu(unsigned int cpu)
91
91
{
92
92
disable_percpu_irq(csky_mptimer_irq);
93
93
94
94
return 0;
95
95
}
96
96
97
97
/*
98
98
* clock source
99
99
*/
100
-
static u64 sched_clock_read(void)
100
+
static u64 notrace sched_clock_read(void)
101
101
{
102
102
return (u64)mfcr(PTIM_CCVR);
103
103
}
104
104
105
105
static u64 clksrc_read(struct clocksource *c)
106
106
{
107
107
return (u64)mfcr(PTIM_CCVR);
108
108
}
109
109
110
110
struct clocksource csky_clocksource = {