diff options
Diffstat (limited to 'kernel/time/tick-broadcast.c')
-rw-r--r-- | kernel/time/tick-broadcast.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index 8314ecb32d3..12b3efeb9f6 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -32,6 +32,19 @@ static cpumask_t tick_broadcast_mask; static DEFINE_SPINLOCK(tick_broadcast_lock); /* + * Debugging: see timer_list.c + */ +struct tick_device *tick_get_broadcast_device(void) +{ + return &tick_broadcast_device; +} + +cpumask_t *tick_get_broadcast_mask(void) +{ + return &tick_broadcast_mask; +} + +/* * Start the device in periodic mode */ static void tick_broadcast_start_periodic(struct clock_event_device *bc) @@ -275,6 +288,14 @@ void tick_shutdown_broadcast(unsigned int *cpup) static cpumask_t tick_broadcast_oneshot_mask; +/* + * Debugging: see timer_list.c + */ +cpumask_t *tick_get_broadcast_oneshot_mask(void) +{ + return &tick_broadcast_oneshot_mask; +} + static int tick_broadcast_set_event(ktime_t expires, int force) { struct clock_event_device *bc = tick_broadcast_device.evtdev; |