diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-10-31 04:23:54 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-11-06 00:10:37 -0500 |
commit | 064a6269245655b15054ad9783bca9bfd8dc1f9e (patch) | |
tree | 7cc180408f77637b8f0152454de68a86ff4321c9 /arch/arc | |
parent | 8e457d6a75421372c7721388c46d21381fd5b451 (diff) |
ARC: use __weak instead of __attribute__((weak))
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/arc/kernel/time.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index bca3052c956d..7f0ab1ecd640 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c | |||
@@ -95,7 +95,7 @@ void __init smp_cpus_done(unsigned int max_cpus) | |||
95 | * If it turns out to be elaborate, it's better to code it in assembly | 95 | * If it turns out to be elaborate, it's better to code it in assembly |
96 | * | 96 | * |
97 | */ | 97 | */ |
98 | void __attribute__((weak)) arc_platform_smp_wait_to_boot(int cpu) | 98 | void __weak arc_platform_smp_wait_to_boot(int cpu) |
99 | { | 99 | { |
100 | /* | 100 | /* |
101 | * As a hack for debugging - since debugger will single-step over the | 101 | * As a hack for debugging - since debugger will single-step over the |
diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c index 4c21dde2f6a9..0a9b6b289c4f 100644 --- a/arch/arc/kernel/time.c +++ b/arch/arc/kernel/time.c | |||
@@ -223,7 +223,7 @@ static struct irqaction arc_timer_irq = { | |||
223 | * Setup the local event timer for @cpu | 223 | * Setup the local event timer for @cpu |
224 | * N.B. weak so that some exotic ARC SoCs can completely override it | 224 | * N.B. weak so that some exotic ARC SoCs can completely override it |
225 | */ | 225 | */ |
226 | void __attribute__((weak)) arc_local_timer_setup(unsigned int cpu) | 226 | void __weak arc_local_timer_setup(unsigned int cpu) |
227 | { | 227 | { |
228 | struct clock_event_device *clk = &per_cpu(arc_clockevent_device, cpu); | 228 | struct clock_event_device *clk = &per_cpu(arc_clockevent_device, cpu); |
229 | 229 | ||