[<prev] [next>] [day] [month] [year] [list]
Message-id: <26870919.16191364167114826.JavaMail.weblogic@epml15>
Date: Sun, 24 Mar 2013 23:18:36 +0000 (GMT)
From: ¼ÛÀººÀ <eunb.song@...sung.com>
To: ralf@...ux-mips.org
Cc: linux-mips@...ux-mips.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] mips: Fix build error cavium-octeon without CONFIG_SMP
This patch fixes build error cavium-octeon without CONFIG_SMP
Singed-off-by: EunBong Song<eunb.song@...sung.com>
---
arch/mips/cavium-octeon/setup.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index c594a3d..b0baa29 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -174,7 +174,10 @@ static int octeon_kexec_prepare(struct kimage *image)
static void octeon_generic_shutdown(void)
{
- int cpu, i;
+ int i;
+#ifdef CONFIG_SMP
+ int cpu;
+#endif
struct cvmx_bootmem_desc *bootmem_desc;
void *named_block_array_ptr;
--
1.7.0.1
Thanks.
Powered by blists - more mailing lists