diff options
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 99d35e2af182..95e41f7f850b 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -33,6 +33,11 @@ static DEFINE_PER_CPU(struct tick_sched, tick_cpu_sched); | |||
33 | */ | 33 | */ |
34 | static ktime_t last_jiffies_update; | 34 | static ktime_t last_jiffies_update; |
35 | 35 | ||
36 | struct tick_sched *tick_get_tick_sched(int cpu) | ||
37 | { | ||
38 | return &per_cpu(tick_cpu_sched, cpu); | ||
39 | } | ||
40 | |||
36 | /* | 41 | /* |
37 | * Must be called with interrupts disabled ! | 42 | * Must be called with interrupts disabled ! |
38 | */ | 43 | */ |