diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-04-09 07:48:12 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-04-09 07:57:00 -0400 |
commit | 30ecee8cdd05415e5602bd755d9210e1c5a5b64d (patch) | |
tree | e0b758c46143064baf5dafef3637d6df1b0ace06 /arch/arc/kernel | |
parent | 5b00029e30ef821152fa82502658e538172d6b75 (diff) |
ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCH
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/arc/kernel/setup.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c index d32c050dd7b9..84ce5317d9fc 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c | |||
@@ -26,7 +26,7 @@ | |||
26 | * -Disable all IRQs (on CPU side) | 26 | * -Disable all IRQs (on CPU side) |
27 | * -Optionally, setup the High priority Interrupts as Level 2 IRQs | 27 | * -Optionally, setup the High priority Interrupts as Level 2 IRQs |
28 | */ | 28 | */ |
29 | void __init arc_init_IRQ(void) | 29 | void __cpuinit arc_init_IRQ(void) |
30 | { | 30 | { |
31 | int level_mask = 0; | 31 | int level_mask = 0; |
32 | 32 | ||
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 694bbd467498..197514649034 100644 --- a/arch/arc/kernel/setup.c +++ b/arch/arc/kernel/setup.c | |||
@@ -31,14 +31,14 @@ | |||
31 | int running_on_hw = 1; /* vs. on ISS */ | 31 | int running_on_hw = 1; /* vs. on ISS */ |
32 | 32 | ||
33 | char __initdata command_line[COMMAND_LINE_SIZE]; | 33 | char __initdata command_line[COMMAND_LINE_SIZE]; |
34 | struct machine_desc *machine_desc __initdata; | 34 | struct machine_desc *machine_desc __cpuinitdata; |
35 | 35 | ||
36 | struct task_struct *_current_task[NR_CPUS]; /* For stack switching */ | 36 | struct task_struct *_current_task[NR_CPUS]; /* For stack switching */ |
37 | 37 | ||
38 | struct cpuinfo_arc cpuinfo_arc700[NR_CPUS]; | 38 | struct cpuinfo_arc cpuinfo_arc700[NR_CPUS]; |
39 | 39 | ||
40 | 40 | ||
41 | void __init read_arc_build_cfg_regs(void) | 41 | void __cpuinit read_arc_build_cfg_regs(void) |
42 | { | 42 | { |
43 | struct bcr_perip uncached_space; | 43 | struct bcr_perip uncached_space; |
44 | struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()]; | 44 | struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()]; |
@@ -237,7 +237,7 @@ char *arc_extn_mumbojumbo(int cpu_id, char *buf, int len) | |||
237 | return buf; | 237 | return buf; |
238 | } | 238 | } |
239 | 239 | ||
240 | void __init arc_chk_ccms(void) | 240 | void __cpuinit arc_chk_ccms(void) |
241 | { | 241 | { |
242 | #if defined(CONFIG_ARC_HAS_DCCM) || defined(CONFIG_ARC_HAS_ICCM) | 242 | #if defined(CONFIG_ARC_HAS_DCCM) || defined(CONFIG_ARC_HAS_ICCM) |
243 | struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()]; | 243 | struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()]; |
@@ -272,7 +272,7 @@ void __init arc_chk_ccms(void) | |||
272 | * hardware has dedicated regs which need to be saved/restored on ctx-sw | 272 | * hardware has dedicated regs which need to be saved/restored on ctx-sw |
273 | * (Single Precision uses core regs), thus kernel is kind of oblivious to it | 273 | * (Single Precision uses core regs), thus kernel is kind of oblivious to it |
274 | */ | 274 | */ |
275 | void __init arc_chk_fpu(void) | 275 | void __cpuinit arc_chk_fpu(void) |
276 | { | 276 | { |
277 | struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()]; | 277 | struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()]; |
278 | 278 | ||
@@ -293,7 +293,7 @@ void __init arc_chk_fpu(void) | |||
293 | * such as only for boot CPU etc | 293 | * such as only for boot CPU etc |
294 | */ | 294 | */ |
295 | 295 | ||
296 | void __init setup_processor(void) | 296 | void __cpuinit setup_processor(void) |
297 | { | 297 | { |
298 | char str[512]; | 298 | char str[512]; |
299 | int cpu_id = smp_processor_id(); | 299 | int cpu_id = smp_processor_id(); |