Commit 064a6269 authored by Vineet Gupta's avatar Vineet Gupta

ARC: use __weak instead of __attribute__((weak))

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 8e457d6a
...@@ -95,7 +95,7 @@ void __init smp_cpus_done(unsigned int max_cpus) ...@@ -95,7 +95,7 @@ void __init smp_cpus_done(unsigned int max_cpus)
* If it turns out to be elaborate, it's better to code it in assembly * If it turns out to be elaborate, it's better to code it in assembly
* *
*/ */
void __attribute__((weak)) arc_platform_smp_wait_to_boot(int cpu) void __weak arc_platform_smp_wait_to_boot(int cpu)
{ {
/* /*
* As a hack for debugging - since debugger will single-step over the * As a hack for debugging - since debugger will single-step over the
......
...@@ -223,7 +223,7 @@ static struct irqaction arc_timer_irq = { ...@@ -223,7 +223,7 @@ static struct irqaction arc_timer_irq = {
* Setup the local event timer for @cpu * Setup the local event timer for @cpu
* N.B. weak so that some exotic ARC SoCs can completely override it * N.B. weak so that some exotic ARC SoCs can completely override it
*/ */
void __attribute__((weak)) arc_local_timer_setup(unsigned int cpu) void __weak arc_local_timer_setup(unsigned int cpu)
{ {
struct clock_event_device *clk = &per_cpu(arc_clockevent_device, cpu); struct clock_event_device *clk = &per_cpu(arc_clockevent_device, cpu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment