diff options
Diffstat (limited to 'kernel/timer.c')
| -rw-r--r-- | kernel/timer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 15bc1b41021d..4296d13db3d1 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
| @@ -1505,11 +1505,11 @@ signed long __sched schedule_timeout_uninterruptible(signed long timeout) | |||
| 1505 | } | 1505 | } |
| 1506 | EXPORT_SYMBOL(schedule_timeout_uninterruptible); | 1506 | EXPORT_SYMBOL(schedule_timeout_uninterruptible); |
| 1507 | 1507 | ||
| 1508 | static int __cpuinit init_timers_cpu(int cpu) | 1508 | static int init_timers_cpu(int cpu) |
| 1509 | { | 1509 | { |
| 1510 | int j; | 1510 | int j; |
| 1511 | struct tvec_base *base; | 1511 | struct tvec_base *base; |
| 1512 | static char __cpuinitdata tvec_base_done[NR_CPUS]; | 1512 | static char tvec_base_done[NR_CPUS]; |
| 1513 | 1513 | ||
| 1514 | if (!tvec_base_done[cpu]) { | 1514 | if (!tvec_base_done[cpu]) { |
| 1515 | static char boot_done; | 1515 | static char boot_done; |
| @@ -1577,7 +1577,7 @@ static void migrate_timer_list(struct tvec_base *new_base, struct list_head *hea | |||
| 1577 | } | 1577 | } |
| 1578 | } | 1578 | } |
| 1579 | 1579 | ||
| 1580 | static void __cpuinit migrate_timers(int cpu) | 1580 | static void migrate_timers(int cpu) |
| 1581 | { | 1581 | { |
| 1582 | struct tvec_base *old_base; | 1582 | struct tvec_base *old_base; |
| 1583 | struct tvec_base *new_base; | 1583 | struct tvec_base *new_base; |
| @@ -1610,7 +1610,7 @@ static void __cpuinit migrate_timers(int cpu) | |||
| 1610 | } | 1610 | } |
| 1611 | #endif /* CONFIG_HOTPLUG_CPU */ | 1611 | #endif /* CONFIG_HOTPLUG_CPU */ |
| 1612 | 1612 | ||
| 1613 | static int __cpuinit timer_cpu_notify(struct notifier_block *self, | 1613 | static int timer_cpu_notify(struct notifier_block *self, |
| 1614 | unsigned long action, void *hcpu) | 1614 | unsigned long action, void *hcpu) |
| 1615 | { | 1615 | { |
| 1616 | long cpu = (long)hcpu; | 1616 | long cpu = (long)hcpu; |
| @@ -1635,7 +1635,7 @@ static int __cpuinit timer_cpu_notify(struct notifier_block *self, | |||
| 1635 | return NOTIFY_OK; | 1635 | return NOTIFY_OK; |
| 1636 | } | 1636 | } |
| 1637 | 1637 | ||
| 1638 | static struct notifier_block __cpuinitdata timers_nb = { | 1638 | static struct notifier_block timers_nb = { |
| 1639 | .notifier_call = timer_cpu_notify, | 1639 | .notifier_call = timer_cpu_notify, |
| 1640 | }; | 1640 | }; |
| 1641 | 1641 | ||
