linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Octeon: Move declaration of 'fixup_irqs' to common hea

To: "Steven J. Hill" <Steven.Hill@imgtec.com>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] MIPS: Octeon: Move declaration of 'fixup_irqs' to common header.
From: David Daney <ddaney.cavm@gmail.com>
Date: Thu, 25 Jul 2013 10:05:01 -0700
Cc: linux-mips@linux-mips.org, David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ycuKg9S4Zo/L1723qFFoJUsuxGdm18LebFBb/3oQbsU=; b=HQRL7T8Dld40JJNO24OGQ0ZXqd3mtYDHv0zLl5/BGAD0xjVGExCXQ5JyqNoZV5VvOT UxKOyXmEhM9LXEDPSv1p5qfiO5Yvqr85KlEsev/Ln4A3vYZW4REIY0WVd9ujqzTxv4KS yhhGuE60YXc4/sJJpvDBqCYA8SbQaZdYyFUA5KESlQnAzStfeAKUFBsO7ZpwTuD//vTp AhwIg6DIDcwK7Wt476xb0IYa1ppiw9m5aTO4A6bvxblb9EFXKzuNatpjUAeXiUYVt+Yj Sm1TBiTq8O0E8zUymAwzPMpiy9B4aleEHKPNUF0nh+GBr4mcfYgvFvwYYqtOyLWMezrA /FJw==
In-reply-to: <1374730817-9040-1-git-send-email-Steven.Hill@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1374730817-9040-1-git-send-email-Steven.Hill@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
On 07/24/2013 10:40 PM, Steven J. Hill wrote:
To prepare for CPU hotplug of CM-based platforms.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>

It still builds after this, so...

Acked-by: David Daney <david.daney@cavium.com>

---
  arch/mips/cavium-octeon/smp.c |    2 --
  arch/mips/include/asm/irq.h   |    1 +
  2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 138cc80..a63dbc0 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -255,8 +255,6 @@ static void octeon_cpus_done(void)
  /* State of each CPU. */
  DEFINE_PER_CPU(int, cpu_state);

-extern void fixup_irqs(void);
-
  static int octeon_cpu_disable(void)
  {
        unsigned int cpu = smp_processor_id();
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index 7bc2cdb..8994ca8 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -126,6 +126,7 @@ extern void do_IRQ_no_affinity(unsigned int irq);

  extern void arch_init_irq(void);
  extern void spurious_interrupt(void);
+extern void fixup_irqs(void);

  extern int allocate_irqno(void);
  extern void alloc_legacy_irqno(void);



<Prev in Thread] Current Thread [Next in Thread>