diff options
| author | Mark Brown <broonie@linaro.org> | 2013-08-15 06:19:52 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-08-15 06:19:52 -0400 |
| commit | 4210606b19852dce52ed1a687db816695b6048e1 (patch) | |
| tree | fd0762f88dc54560d87fc1e523741d92228f6a9c /drivers/clocksource | |
| parent | 4d8cfa4642f7d8fafa4d60f05dd34fe8c3b9fa45 (diff) | |
| parent | b7ae6f31d8243ec684af16bc5c763eccdfabaec0 (diff) | |
Merge branch 'topic/dma' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-pxa
Diffstat (limited to 'drivers/clocksource')
| -rw-r--r-- | drivers/clocksource/arm_arch_timer.c | 8 | ||||
| -rw-r--r-- | drivers/clocksource/arm_global_timer.c | 8 | ||||
| -rw-r--r-- | drivers/clocksource/dummy_timer.c | 6 | ||||
| -rw-r--r-- | drivers/clocksource/exynos_mct.c | 4 | ||||
| -rw-r--r-- | drivers/clocksource/metag_generic.c | 6 | ||||
| -rw-r--r-- | drivers/clocksource/time-armada-370-xp.c | 4 | ||||
| -rw-r--r-- | drivers/clocksource/timer-marco.c | 4 |
7 files changed, 20 insertions, 20 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 053d846ab5b1..ffadd836e0b5 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c | |||
| @@ -123,7 +123,7 @@ static int arch_timer_set_next_event_phys(unsigned long evt, | |||
| 123 | return 0; | 123 | return 0; |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | static int __cpuinit arch_timer_setup(struct clock_event_device *clk) | 126 | static int arch_timer_setup(struct clock_event_device *clk) |
| 127 | { | 127 | { |
| 128 | clk->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_C3STOP; | 128 | clk->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_C3STOP; |
| 129 | clk->name = "arch_sys_timer"; | 129 | clk->name = "arch_sys_timer"; |
| @@ -221,7 +221,7 @@ struct timecounter *arch_timer_get_timecounter(void) | |||
| 221 | return &timecounter; | 221 | return &timecounter; |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | static void __cpuinit arch_timer_stop(struct clock_event_device *clk) | 224 | static void arch_timer_stop(struct clock_event_device *clk) |
| 225 | { | 225 | { |
| 226 | pr_debug("arch_timer_teardown disable IRQ%d cpu #%d\n", | 226 | pr_debug("arch_timer_teardown disable IRQ%d cpu #%d\n", |
| 227 | clk->irq, smp_processor_id()); | 227 | clk->irq, smp_processor_id()); |
| @@ -237,7 +237,7 @@ static void __cpuinit arch_timer_stop(struct clock_event_device *clk) | |||
| 237 | clk->set_mode(CLOCK_EVT_MODE_UNUSED, clk); | 237 | clk->set_mode(CLOCK_EVT_MODE_UNUSED, clk); |
| 238 | } | 238 | } |
| 239 | 239 | ||
| 240 | static int __cpuinit arch_timer_cpu_notify(struct notifier_block *self, | 240 | static int arch_timer_cpu_notify(struct notifier_block *self, |
| 241 | unsigned long action, void *hcpu) | 241 | unsigned long action, void *hcpu) |
| 242 | { | 242 | { |
| 243 | /* | 243 | /* |
| @@ -256,7 +256,7 @@ static int __cpuinit arch_timer_cpu_notify(struct notifier_block *self, | |||
| 256 | return NOTIFY_OK; | 256 | return NOTIFY_OK; |
| 257 | } | 257 | } |
| 258 | 258 | ||
| 259 | static struct notifier_block arch_timer_cpu_nb __cpuinitdata = { | 259 | static struct notifier_block arch_timer_cpu_nb = { |
| 260 | .notifier_call = arch_timer_cpu_notify, | 260 | .notifier_call = arch_timer_cpu_notify, |
| 261 | }; | 261 | }; |
| 262 | 262 | ||
diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index db8afc7427a6..b66c1f36066c 100644 --- a/drivers/clocksource/arm_global_timer.c +++ b/drivers/clocksource/arm_global_timer.c | |||
| @@ -164,7 +164,7 @@ static irqreturn_t gt_clockevent_interrupt(int irq, void *dev_id) | |||
| 164 | return IRQ_HANDLED; | 164 | return IRQ_HANDLED; |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | static int __cpuinit gt_clockevents_init(struct clock_event_device *clk) | 167 | static int gt_clockevents_init(struct clock_event_device *clk) |
| 168 | { | 168 | { |
| 169 | int cpu = smp_processor_id(); | 169 | int cpu = smp_processor_id(); |
| 170 | 170 | ||
| @@ -221,8 +221,8 @@ static void __init gt_clocksource_init(void) | |||
| 221 | clocksource_register_hz(>_clocksource, gt_clk_rate); | 221 | clocksource_register_hz(>_clocksource, gt_clk_rate); |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | static int __cpuinit gt_cpu_notify(struct notifier_block *self, | 224 | static int gt_cpu_notify(struct notifier_block *self, unsigned long action, |
| 225 | unsigned long action, void *hcpu) | 225 | void *hcpu) |
| 226 | { | 226 | { |
| 227 | switch (action & ~CPU_TASKS_FROZEN) { | 227 | switch (action & ~CPU_TASKS_FROZEN) { |
| 228 | case CPU_STARTING: | 228 | case CPU_STARTING: |
| @@ -235,7 +235,7 @@ static int __cpuinit gt_cpu_notify(struct notifier_block *self, | |||
| 235 | 235 | ||
| 236 | return NOTIFY_OK; | 236 | return NOTIFY_OK; |
| 237 | } | 237 | } |
| 238 | static struct notifier_block gt_cpu_nb __cpuinitdata = { | 238 | static struct notifier_block gt_cpu_nb = { |
| 239 | .notifier_call = gt_cpu_notify, | 239 | .notifier_call = gt_cpu_notify, |
| 240 | }; | 240 | }; |
| 241 | 241 | ||
diff --git a/drivers/clocksource/dummy_timer.c b/drivers/clocksource/dummy_timer.c index 1f55f9620338..b3eb582d6a6f 100644 --- a/drivers/clocksource/dummy_timer.c +++ b/drivers/clocksource/dummy_timer.c | |||
| @@ -25,7 +25,7 @@ static void dummy_timer_set_mode(enum clock_event_mode mode, | |||
| 25 | */ | 25 | */ |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | static void __cpuinit dummy_timer_setup(void) | 28 | static void dummy_timer_setup(void) |
| 29 | { | 29 | { |
| 30 | int cpu = smp_processor_id(); | 30 | int cpu = smp_processor_id(); |
| 31 | struct clock_event_device *evt = __this_cpu_ptr(&dummy_timer_evt); | 31 | struct clock_event_device *evt = __this_cpu_ptr(&dummy_timer_evt); |
| @@ -41,7 +41,7 @@ static void __cpuinit dummy_timer_setup(void) | |||
| 41 | clockevents_register_device(evt); | 41 | clockevents_register_device(evt); |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | static int __cpuinit dummy_timer_cpu_notify(struct notifier_block *self, | 44 | static int dummy_timer_cpu_notify(struct notifier_block *self, |
| 45 | unsigned long action, void *hcpu) | 45 | unsigned long action, void *hcpu) |
| 46 | { | 46 | { |
| 47 | if ((action & ~CPU_TASKS_FROZEN) == CPU_STARTING) | 47 | if ((action & ~CPU_TASKS_FROZEN) == CPU_STARTING) |
| @@ -50,7 +50,7 @@ static int __cpuinit dummy_timer_cpu_notify(struct notifier_block *self, | |||
| 50 | return NOTIFY_OK; | 50 | return NOTIFY_OK; |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | static struct notifier_block dummy_timer_cpu_nb __cpuinitdata = { | 53 | static struct notifier_block dummy_timer_cpu_nb = { |
| 54 | .notifier_call = dummy_timer_cpu_notify, | 54 | .notifier_call = dummy_timer_cpu_notify, |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index a70480409ea5..b2bbc415f120 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c | |||
| @@ -400,7 +400,7 @@ static irqreturn_t exynos4_mct_tick_isr(int irq, void *dev_id) | |||
| 400 | return IRQ_HANDLED; | 400 | return IRQ_HANDLED; |
| 401 | } | 401 | } |
| 402 | 402 | ||
| 403 | static int __cpuinit exynos4_local_timer_setup(struct clock_event_device *evt) | 403 | static int exynos4_local_timer_setup(struct clock_event_device *evt) |
| 404 | { | 404 | { |
| 405 | struct mct_clock_event_device *mevt; | 405 | struct mct_clock_event_device *mevt; |
| 406 | unsigned int cpu = smp_processor_id(); | 406 | unsigned int cpu = smp_processor_id(); |
| @@ -448,7 +448,7 @@ static void exynos4_local_timer_stop(struct clock_event_device *evt) | |||
| 448 | disable_percpu_irq(mct_irqs[MCT_L0_IRQ]); | 448 | disable_percpu_irq(mct_irqs[MCT_L0_IRQ]); |
| 449 | } | 449 | } |
| 450 | 450 | ||
| 451 | static struct local_timer_ops exynos4_mct_tick_ops __cpuinitdata = { | 451 | static struct local_timer_ops exynos4_mct_tick_ops = { |
| 452 | .setup = exynos4_local_timer_setup, | 452 | .setup = exynos4_local_timer_setup, |
| 453 | .stop = exynos4_local_timer_stop, | 453 | .stop = exynos4_local_timer_stop, |
| 454 | }; | 454 | }; |
diff --git a/drivers/clocksource/metag_generic.c b/drivers/clocksource/metag_generic.c index 6722f0e2fe40..9e4db41abe3c 100644 --- a/drivers/clocksource/metag_generic.c +++ b/drivers/clocksource/metag_generic.c | |||
| @@ -109,7 +109,7 @@ unsigned long long sched_clock(void) | |||
| 109 | return ticks << HARDWARE_TO_NS_SHIFT; | 109 | return ticks << HARDWARE_TO_NS_SHIFT; |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | static void __cpuinit arch_timer_setup(unsigned int cpu) | 112 | static void arch_timer_setup(unsigned int cpu) |
| 113 | { | 113 | { |
| 114 | unsigned int txdivtime; | 114 | unsigned int txdivtime; |
| 115 | struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); | 115 | struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); |
| @@ -154,7 +154,7 @@ static void __cpuinit arch_timer_setup(unsigned int cpu) | |||
| 154 | } | 154 | } |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | static int __cpuinit arch_timer_cpu_notify(struct notifier_block *self, | 157 | static int arch_timer_cpu_notify(struct notifier_block *self, |
| 158 | unsigned long action, void *hcpu) | 158 | unsigned long action, void *hcpu) |
| 159 | { | 159 | { |
| 160 | int cpu = (long)hcpu; | 160 | int cpu = (long)hcpu; |
| @@ -169,7 +169,7 @@ static int __cpuinit arch_timer_cpu_notify(struct notifier_block *self, | |||
| 169 | return NOTIFY_OK; | 169 | return NOTIFY_OK; |
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | static struct notifier_block __cpuinitdata arch_timer_cpu_nb = { | 172 | static struct notifier_block arch_timer_cpu_nb = { |
| 173 | .notifier_call = arch_timer_cpu_notify, | 173 | .notifier_call = arch_timer_cpu_notify, |
| 174 | }; | 174 | }; |
| 175 | 175 | ||
diff --git a/drivers/clocksource/time-armada-370-xp.c b/drivers/clocksource/time-armada-370-xp.c index efdca3263afe..1b04b7e1d39b 100644 --- a/drivers/clocksource/time-armada-370-xp.c +++ b/drivers/clocksource/time-armada-370-xp.c | |||
| @@ -167,7 +167,7 @@ static irqreturn_t armada_370_xp_timer_interrupt(int irq, void *dev_id) | |||
| 167 | /* | 167 | /* |
| 168 | * Setup the local clock events for a CPU. | 168 | * Setup the local clock events for a CPU. |
| 169 | */ | 169 | */ |
| 170 | static int __cpuinit armada_370_xp_timer_setup(struct clock_event_device *evt) | 170 | static int armada_370_xp_timer_setup(struct clock_event_device *evt) |
| 171 | { | 171 | { |
| 172 | u32 u; | 172 | u32 u; |
| 173 | int cpu = smp_processor_id(); | 173 | int cpu = smp_processor_id(); |
| @@ -205,7 +205,7 @@ static void armada_370_xp_timer_stop(struct clock_event_device *evt) | |||
| 205 | disable_percpu_irq(evt->irq); | 205 | disable_percpu_irq(evt->irq); |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | static struct local_timer_ops armada_370_xp_local_timer_ops __cpuinitdata = { | 208 | static struct local_timer_ops armada_370_xp_local_timer_ops = { |
| 209 | .setup = armada_370_xp_timer_setup, | 209 | .setup = armada_370_xp_timer_setup, |
| 210 | .stop = armada_370_xp_timer_stop, | 210 | .stop = armada_370_xp_timer_stop, |
| 211 | }; | 211 | }; |
diff --git a/drivers/clocksource/timer-marco.c b/drivers/clocksource/timer-marco.c index e5dc9129ca26..62876baa3ab9 100644 --- a/drivers/clocksource/timer-marco.c +++ b/drivers/clocksource/timer-marco.c | |||
| @@ -184,7 +184,7 @@ static struct irqaction sirfsoc_timer1_irq = { | |||
| 184 | .handler = sirfsoc_timer_interrupt, | 184 | .handler = sirfsoc_timer_interrupt, |
| 185 | }; | 185 | }; |
| 186 | 186 | ||
| 187 | static int __cpuinit sirfsoc_local_timer_setup(struct clock_event_device *ce) | 187 | static int sirfsoc_local_timer_setup(struct clock_event_device *ce) |
| 188 | { | 188 | { |
| 189 | /* Use existing clock_event for cpu 0 */ | 189 | /* Use existing clock_event for cpu 0 */ |
| 190 | if (!smp_processor_id()) | 190 | if (!smp_processor_id()) |
| @@ -216,7 +216,7 @@ static void sirfsoc_local_timer_stop(struct clock_event_device *ce) | |||
| 216 | remove_irq(sirfsoc_timer1_irq.irq, &sirfsoc_timer1_irq); | 216 | remove_irq(sirfsoc_timer1_irq.irq, &sirfsoc_timer1_irq); |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | static struct local_timer_ops sirfsoc_local_timer_ops __cpuinitdata = { | 219 | static struct local_timer_ops sirfsoc_local_timer_ops = { |
| 220 | .setup = sirfsoc_local_timer_setup, | 220 | .setup = sirfsoc_local_timer_setup, |
| 221 | .stop = sirfsoc_local_timer_stop, | 221 | .stop = sirfsoc_local_timer_stop, |
| 222 | }; | 222 | }; |
