diff options
Diffstat (limited to 'arch/blackfin')
| -rw-r--r-- | arch/blackfin/kernel/perf_event.c | 2 | ||||
| -rw-r--r-- | arch/blackfin/kernel/setup.c | 4 | ||||
| -rw-r--r-- | arch/blackfin/mach-bf561/smp.c | 6 | ||||
| -rw-r--r-- | arch/blackfin/mach-common/cache-c.c | 4 | ||||
| -rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 2 | ||||
| -rw-r--r-- | arch/blackfin/mach-common/smp.c | 18 |
6 files changed, 18 insertions, 18 deletions
diff --git a/arch/blackfin/kernel/perf_event.c b/arch/blackfin/kernel/perf_event.c index e47d19ae3e06..974e55496db3 100644 --- a/arch/blackfin/kernel/perf_event.c +++ b/arch/blackfin/kernel/perf_event.c | |||
| @@ -468,7 +468,7 @@ static void bfin_pmu_setup(int cpu) | |||
| 468 | memset(cpuhw, 0, sizeof(struct cpu_hw_events)); | 468 | memset(cpuhw, 0, sizeof(struct cpu_hw_events)); |
| 469 | } | 469 | } |
| 470 | 470 | ||
| 471 | static int __cpuinit | 471 | static int |
| 472 | bfin_pmu_notifier(struct notifier_block *self, unsigned long action, void *hcpu) | 472 | bfin_pmu_notifier(struct notifier_block *self, unsigned long action, void *hcpu) |
| 473 | { | 473 | { |
| 474 | unsigned int cpu = (long)hcpu; | 474 | unsigned int cpu = (long)hcpu; |
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 107b306b06f1..19ad0637e8ff 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
| @@ -99,7 +99,7 @@ void __init generate_cplb_tables(void) | |||
| 99 | } | 99 | } |
| 100 | #endif | 100 | #endif |
| 101 | 101 | ||
| 102 | void __cpuinit bfin_setup_caches(unsigned int cpu) | 102 | void bfin_setup_caches(unsigned int cpu) |
| 103 | { | 103 | { |
| 104 | #ifdef CONFIG_BFIN_ICACHE | 104 | #ifdef CONFIG_BFIN_ICACHE |
| 105 | bfin_icache_init(icplb_tbl[cpu]); | 105 | bfin_icache_init(icplb_tbl[cpu]); |
| @@ -165,7 +165,7 @@ void __cpuinit bfin_setup_caches(unsigned int cpu) | |||
| 165 | #endif | 165 | #endif |
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | void __cpuinit bfin_setup_cpudata(unsigned int cpu) | 168 | void bfin_setup_cpudata(unsigned int cpu) |
| 169 | { | 169 | { |
| 170 | struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu); | 170 | struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu); |
| 171 | 171 | ||
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index c77a23bc9de3..11789beca75a 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
| @@ -48,7 +48,7 @@ int __init setup_profiling_timer(unsigned int multiplier) /* not supported */ | |||
| 48 | return -EINVAL; | 48 | return -EINVAL; |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | void __cpuinit platform_secondary_init(unsigned int cpu) | 51 | void platform_secondary_init(unsigned int cpu) |
| 52 | { | 52 | { |
| 53 | /* Clone setup for peripheral interrupt sources from CoreA. */ | 53 | /* Clone setup for peripheral interrupt sources from CoreA. */ |
| 54 | bfin_write_SICB_IMASK0(bfin_read_SIC_IMASK0()); | 54 | bfin_write_SICB_IMASK0(bfin_read_SIC_IMASK0()); |
| @@ -73,7 +73,7 @@ void __cpuinit platform_secondary_init(unsigned int cpu) | |||
| 73 | spin_unlock(&boot_lock); | 73 | spin_unlock(&boot_lock); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | int __cpuinit platform_boot_secondary(unsigned int cpu, struct task_struct *idle) | 76 | int platform_boot_secondary(unsigned int cpu, struct task_struct *idle) |
| 77 | { | 77 | { |
| 78 | unsigned long timeout; | 78 | unsigned long timeout; |
| 79 | 79 | ||
| @@ -154,7 +154,7 @@ void platform_clear_ipi(unsigned int cpu, int irq) | |||
| 154 | * Setup core B's local core timer. | 154 | * Setup core B's local core timer. |
| 155 | * In SMP, core timer is used for clock event device. | 155 | * In SMP, core timer is used for clock event device. |
| 156 | */ | 156 | */ |
| 157 | void __cpuinit bfin_local_timer_setup(void) | 157 | void bfin_local_timer_setup(void) |
| 158 | { | 158 | { |
| 159 | #if defined(CONFIG_TICKSOURCE_CORETMR) | 159 | #if defined(CONFIG_TICKSOURCE_CORETMR) |
| 160 | struct irq_data *data = irq_get_irq_data(IRQ_CORETMR); | 160 | struct irq_data *data = irq_get_irq_data(IRQ_CORETMR); |
diff --git a/arch/blackfin/mach-common/cache-c.c b/arch/blackfin/mach-common/cache-c.c index a60a24f5035d..0e1e451fd7d8 100644 --- a/arch/blackfin/mach-common/cache-c.c +++ b/arch/blackfin/mach-common/cache-c.c | |||
| @@ -52,7 +52,7 @@ bfin_cache_init(struct cplb_entry *cplb_tbl, unsigned long cplb_addr, | |||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | #ifdef CONFIG_BFIN_ICACHE | 54 | #ifdef CONFIG_BFIN_ICACHE |
| 55 | void __cpuinit bfin_icache_init(struct cplb_entry *icplb_tbl) | 55 | void bfin_icache_init(struct cplb_entry *icplb_tbl) |
| 56 | { | 56 | { |
| 57 | bfin_cache_init(icplb_tbl, ICPLB_ADDR0, ICPLB_DATA0, IMEM_CONTROL, | 57 | bfin_cache_init(icplb_tbl, ICPLB_ADDR0, ICPLB_DATA0, IMEM_CONTROL, |
| 58 | (IMC | ENICPLB)); | 58 | (IMC | ENICPLB)); |
| @@ -60,7 +60,7 @@ void __cpuinit bfin_icache_init(struct cplb_entry *icplb_tbl) | |||
| 60 | #endif | 60 | #endif |
| 61 | 61 | ||
| 62 | #ifdef CONFIG_BFIN_DCACHE | 62 | #ifdef CONFIG_BFIN_DCACHE |
| 63 | void __cpuinit bfin_dcache_init(struct cplb_entry *dcplb_tbl) | 63 | void bfin_dcache_init(struct cplb_entry *dcplb_tbl) |
| 64 | { | 64 | { |
| 65 | /* | 65 | /* |
| 66 | * Anomaly notes: | 66 | * Anomaly notes: |
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index 6c0c6816a51a..d143fd8d2bc5 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
| @@ -1281,7 +1281,7 @@ static struct irq_chip bfin_gpio_irqchip = { | |||
| 1281 | .irq_set_wake = bfin_gpio_set_wake, | 1281 | .irq_set_wake = bfin_gpio_set_wake, |
| 1282 | }; | 1282 | }; |
| 1283 | 1283 | ||
| 1284 | void __cpuinit init_exception_vectors(void) | 1284 | void init_exception_vectors(void) |
| 1285 | { | 1285 | { |
| 1286 | /* cannot program in software: | 1286 | /* cannot program in software: |
| 1287 | * evt0 - emulation (jtag) | 1287 | * evt0 - emulation (jtag) |
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index 961d8392e5e3..82f301c117a5 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c | |||
| @@ -46,7 +46,7 @@ struct corelock_slot corelock __attribute__ ((__section__(".l2.bss"))); | |||
| 46 | unsigned long blackfin_iflush_l1_entry[NR_CPUS]; | 46 | unsigned long blackfin_iflush_l1_entry[NR_CPUS]; |
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | struct blackfin_initial_pda __cpuinitdata initial_pda_coreb; | 49 | struct blackfin_initial_pda initial_pda_coreb; |
| 50 | 50 | ||
| 51 | enum ipi_message_type { | 51 | enum ipi_message_type { |
| 52 | BFIN_IPI_NONE, | 52 | BFIN_IPI_NONE, |
| @@ -147,7 +147,7 @@ static irqreturn_t ipi_handler_int1(int irq, void *dev_instance) | |||
| 147 | platform_clear_ipi(cpu, IRQ_SUPPLE_1); | 147 | platform_clear_ipi(cpu, IRQ_SUPPLE_1); |
| 148 | 148 | ||
| 149 | bfin_ipi_data = &__get_cpu_var(bfin_ipi); | 149 | bfin_ipi_data = &__get_cpu_var(bfin_ipi); |
| 150 | while ((pending = xchg(&bfin_ipi_data->bits, 0)) != 0) { | 150 | while ((pending = atomic_xchg(&bfin_ipi_data->bits, 0)) != 0) { |
| 151 | msg = 0; | 151 | msg = 0; |
| 152 | do { | 152 | do { |
| 153 | msg = find_next_bit(&pending, BITS_PER_LONG, msg + 1); | 153 | msg = find_next_bit(&pending, BITS_PER_LONG, msg + 1); |
| @@ -182,8 +182,8 @@ static void bfin_ipi_init(void) | |||
| 182 | struct ipi_data *bfin_ipi_data; | 182 | struct ipi_data *bfin_ipi_data; |
| 183 | for_each_possible_cpu(cpu) { | 183 | for_each_possible_cpu(cpu) { |
| 184 | bfin_ipi_data = &per_cpu(bfin_ipi, cpu); | 184 | bfin_ipi_data = &per_cpu(bfin_ipi, cpu); |
| 185 | bfin_ipi_data->bits = 0; | 185 | atomic_set(&bfin_ipi_data->bits, 0); |
| 186 | bfin_ipi_data->count = 0; | 186 | atomic_set(&bfin_ipi_data->count, 0); |
| 187 | } | 187 | } |
| 188 | } | 188 | } |
| 189 | 189 | ||
| @@ -246,7 +246,7 @@ void smp_send_stop(void) | |||
| 246 | return; | 246 | return; |
| 247 | } | 247 | } |
| 248 | 248 | ||
| 249 | int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle) | 249 | int __cpu_up(unsigned int cpu, struct task_struct *idle) |
| 250 | { | 250 | { |
| 251 | int ret; | 251 | int ret; |
| 252 | 252 | ||
| @@ -259,7 +259,7 @@ int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle) | |||
| 259 | return ret; | 259 | return ret; |
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | static void __cpuinit setup_secondary(unsigned int cpu) | 262 | static void setup_secondary(unsigned int cpu) |
| 263 | { | 263 | { |
| 264 | unsigned long ilat; | 264 | unsigned long ilat; |
| 265 | 265 | ||
| @@ -277,7 +277,7 @@ static void __cpuinit setup_secondary(unsigned int cpu) | |||
| 277 | IMASK_IVG10 | IMASK_IVG9 | IMASK_IVG8 | IMASK_IVG7 | IMASK_IVGHW; | 277 | IMASK_IVG10 | IMASK_IVG9 | IMASK_IVG8 | IMASK_IVG7 | IMASK_IVGHW; |
| 278 | } | 278 | } |
| 279 | 279 | ||
| 280 | void __cpuinit secondary_start_kernel(void) | 280 | void secondary_start_kernel(void) |
| 281 | { | 281 | { |
| 282 | unsigned int cpu = smp_processor_id(); | 282 | unsigned int cpu = smp_processor_id(); |
| 283 | struct mm_struct *mm = &init_mm; | 283 | struct mm_struct *mm = &init_mm; |
| @@ -402,7 +402,7 @@ EXPORT_SYMBOL(resync_core_dcache); | |||
| 402 | #endif | 402 | #endif |
| 403 | 403 | ||
| 404 | #ifdef CONFIG_HOTPLUG_CPU | 404 | #ifdef CONFIG_HOTPLUG_CPU |
| 405 | int __cpuexit __cpu_disable(void) | 405 | int __cpu_disable(void) |
| 406 | { | 406 | { |
| 407 | unsigned int cpu = smp_processor_id(); | 407 | unsigned int cpu = smp_processor_id(); |
| 408 | 408 | ||
| @@ -415,7 +415,7 @@ int __cpuexit __cpu_disable(void) | |||
| 415 | 415 | ||
| 416 | static DECLARE_COMPLETION(cpu_killed); | 416 | static DECLARE_COMPLETION(cpu_killed); |
| 417 | 417 | ||
| 418 | int __cpuexit __cpu_die(unsigned int cpu) | 418 | int __cpu_die(unsigned int cpu) |
| 419 | { | 419 | { |
| 420 | return wait_for_completion_timeout(&cpu_killed, 5000); | 420 | return wait_for_completion_timeout(&cpu_killed, 5000); |
| 421 | } | 421 | } |
