Skip to content

Commit f9db6e0

Browse files
committed
Merge branch 'timers-for-linus-clockevents' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-for-linus-clockevents' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: clockevent: export register_device and delta2ns clockevents: tick_broadcast_device can become static
2 parents 3f27c0d + c81fc2c commit f9db6e0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

kernel/time/clockevents.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ unsigned long clockevent_delta2ns(unsigned long latch,
5454

5555
return (unsigned long) clc;
5656
}
57+
EXPORT_SYMBOL_GPL(clockevent_delta2ns);
5758

5859
/**
5960
* clockevents_set_mode - set the operating mode of a clock event device
@@ -187,6 +188,7 @@ void clockevents_register_device(struct clock_event_device *dev)
187188

188189
spin_unlock(&clockevents_lock);
189190
}
191+
EXPORT_SYMBOL_GPL(clockevents_register_device);
190192

191193
/*
192194
* Noop handler when we shut down an event device

kernel/time/tick-broadcast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* timer stops in C3 state.
2828
*/
2929

30-
struct tick_device tick_broadcast_device;
30+
static struct tick_device tick_broadcast_device;
3131
/* FIXME: Use cpumask_var_t. */
3232
static DECLARE_BITMAP(tick_broadcast_mask, NR_CPUS);
3333
static DECLARE_BITMAP(tmpmask, NR_CPUS);

0 commit comments

Comments
 (0)