From: Vineet Gupta Date: Thu, 31 Oct 2013 08:23:54 +0000 (+0530) Subject: ARC: use __weak instead of __attribute__((weak)) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=064a6269245655b15054ad9783bca9bfd8dc1f9e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARC: use __weak instead of __attribute__((weak)) Signed-off-by: Vineet Gupta --- 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) * 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 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 = { * Setup the local event timer for @cpu * 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);