| To: | Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH] ifdef gic_present variable that is used only by malta |
| From: | Anoop P A <anoop.pa@gmail.com> |
| Date: | Wed, 01 Dec 2010 22:01:15 +0530 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=yJr4s0+/AzPVHLmHb0byZkHv+o2Gf9+2kB8Q5kKviYA=; b=n3z+y7A6q2IaiPEWUuPXtYnr7H6wu8B0uUFx13czNG84atP3nB59JxBu5nVRKF65Ro p6zUqfGqJfCqbmtN5CnSIoo7b40k3ACkBrXjIBFKMrR8Xw5GZNFA/LKxJ8JpCYjtQDEk DXzyhUO5LGHAAgV1C41OAqS/a20/W2POHasLc= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=wXFJOg0dS24S3ZAZCgGNKY7lWDd+UlJbuKh4rTvMFyHH1krQto6OuaWFKqPVuDolal ZDs//j5Q1RjMFJr9wuc0lBh/jPfqkpMccUb+q60VXPZIuCEubVBMnsSPNW+K7Yr/qXdp WX+4RoiOe/A2OuIKPrUNQiz5rhYUo09EejaQI= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
gic_present variable will be used only in malta platforms.Other
platforms with VSMP support will throw link error.
Signed-off-by: Anoop P A <anoop.pa@gmail.com>
---
arch/mips/kernel/smp-mt.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c
index 43e7cdc..5b91c1a 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -151,6 +151,7 @@ static void vsmp_send_ipi_mask(const struct cpumask
*mask, unsigned int action)
static void __cpuinit vsmp_init_secondary(void)
{
+#ifdef CONFIG_MIPS_MALTA
extern int gic_present;
/* This is Malta specific: IPI,performance and timer inetrrupts */
@@ -158,6 +159,7 @@ static void __cpuinit vsmp_init_secondary(void)
change_c0_status(ST0_IM, STATUSF_IP3 | STATUSF_IP4 |
STATUSF_IP6 | STATUSF_IP7);
else
+#endif /* CONFIG_MIPS_MALTA */
change_c0_status(ST0_IM, STATUSF_IP0 | STATUSF_IP1 |
STATUSF_IP6 | STATUSF_IP7);
}
--
1.7.0.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [RFC 3/3] VSMP support for MSP71xx family, Anoop P A |
|---|---|
| Next by Date: | RE: double kfree, Viral Mehta |
| Previous by Thread: | [RFC 3/3] VSMP support for MSP71xx family, Anoop P A |
| Next by Thread: | [PATCH] MIPS: Fix build failure on mips_sc_is_activated(), Namhyung Kim |
| Indexes: | [Date] [Thread] [Top] [All Lists] |