linux-mips
[Top] [All Lists]

[PATCH 8/8] MIPS: OCTEON: Don't refer to octeon_irq_cpu_offline_ciu() w

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 8/8] MIPS: OCTEON: Don't refer to octeon_irq_cpu_offline_ciu() when !CONFIG_SMP
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 27 Apr 2012 11:32:40 -0700
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=U65mD96smMNdVPUVPLzIKPdlFkx1IpiF+80Kds/P3Qw=; b=oySMFTZrX3/6Kus4/5Xl2MJVcX0ENFsOYpEAKUqmF4ce4jY8Q2evNk1K79BQk7IR88 coR/ZMHjf07pdHuDp/95pYqtfwWflGrp8v7Pnz8lb8olqMuLU/6UAHFmPQLYlDdR3lNT mDh4aFdIobnIf8Hn3AyaJyZHO5NraDfcBRy2UUoQgXx5RMx5jUr3aQTwIhlCm5HFtuiT yAuG/zbLJsFhDecGjV6uQTPZMIVH1gd3TMPw5jTzPH0+Q7ScBElhpqYTbTYeP7xN5SE+ xIur9WRFJ3cpNvxOP2gRztTkxGfzT+q8/3EW7Z+wrpKiBcK4LqaGhYg1BS88n2xPferT eYTg==
In-reply-to: <1335551560-19581-1-git-send-email-ddaney.cavm@gmail.com>
References: <1335551560-19581-1-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

... It is not defined in this case.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/mips/cavium-octeon/octeon-irq.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/mips/cavium-octeon/octeon-irq.c 
b/arch/mips/cavium-octeon/octeon-irq.c
index 1eb4461..da40e66 100644
--- a/arch/mips/cavium-octeon/octeon-irq.c
+++ b/arch/mips/cavium-octeon/octeon-irq.c
@@ -761,8 +761,8 @@ static struct irq_chip octeon_irq_chip_ciu_v2 = {
        .irq_unmask = octeon_irq_ciu_enable_v2,
 #ifdef CONFIG_SMP
        .irq_set_affinity = octeon_irq_ciu_set_affinity_v2,
-#endif
        .irq_cpu_offline = octeon_irq_cpu_offline_ciu,
+#endif
 };
 
 static struct irq_chip octeon_irq_chip_ciu = {
@@ -774,8 +774,8 @@ static struct irq_chip octeon_irq_chip_ciu = {
        .irq_unmask = octeon_irq_ciu_enable,
 #ifdef CONFIG_SMP
        .irq_set_affinity = octeon_irq_ciu_set_affinity,
-#endif
        .irq_cpu_offline = octeon_irq_cpu_offline_ciu,
+#endif
 };
 
 /* The mbox versions don't do any affinity or round-robin. */
@@ -1479,8 +1479,8 @@ static struct irq_chip octeon_irq_chip_ciu2 = {
        .irq_unmask = octeon_irq_ciu2_enable,
 #ifdef CONFIG_SMP
        .irq_set_affinity = octeon_irq_ciu2_set_affinity,
-#endif
        .irq_cpu_offline = octeon_irq_cpu_offline_ciu,
+#endif
 };
 
 static struct irq_chip octeon_irq_chip_ciu2_mbox = {
@@ -1513,8 +1513,8 @@ static struct irq_chip octeon_irq_chip_ciu2_gpio = {
        .irq_set_type = octeon_irq_ciu_gpio_set_type,
 #ifdef CONFIG_SMP
        .irq_set_affinity = octeon_irq_ciu2_set_affinity,
-#endif
        .irq_cpu_offline = octeon_irq_cpu_offline_ciu,
+#endif
        .flags = IRQCHIP_SET_TYPE_MASKED,
 };
 
-- 
1.7.2.3


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