* [PATCH] mips: Fix build error cavium-octeon without CONFIG_SMP
@ 2013-03-24 23:18 송은봉
0 siblings, 0 replies; only message in thread
From: 송은봉 @ 2013-03-24 23:18 UTC (permalink / raw)
To: ralf; +Cc: linux-mips, linux-kernel@vger.kernel.org
This patch fixes build error cavium-octeon without CONFIG_SMP
Singed-off-by: EunBong Song<eunb.song@samsung.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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-24 23:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-24 23:18 [PATCH] mips: Fix build error cavium-octeon without CONFIG_SMP 송은봉
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox