]> Pileus Git - ~andy/linux/commitdiff
ARC: use __weak instead of __attribute__((weak))
authorVineet Gupta <vgupta@synopsys.com>
Thu, 31 Oct 2013 08:23:54 +0000 (13:53 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 6 Nov 2013 05:10:37 +0000 (10:40 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/smp.c
arch/arc/kernel/time.c

index bca3052c956dab7edc2c5ccffba613f7a1d5cd39..7f0ab1ecd6408a23c637fd0f62f90e1e5899f7e7 100644 (file)
@@ -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
index 4c21dde2f6a9625bc4ff4bc57126d4783fc73214..0a9b6b289c4f84369777a6aba460b3212cd6e9a5 100644 (file)
@@ -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);