Skip to contentSkip to conversation

mips: Fix build error cavium-octeon without CONFIG_SMP

PATCH New 송은봉 1 participant 1 message Mar 24, 2013 MIPS

lore
Share & tools
lore

송은봉

author
#0 lore raw

PATCH 1/1 mips: Fix build error cavium-octeon without CONFIG_SMP

This patch fixes build error cavium-octeon without CONFIG_SMP

---
 arch/mips/cavium-octeon/setup.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
arch/mips/cavium-octeon/setup.c +4 -1
index c594a3d..b0baa29 100644
@@ -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;
 
Signature · 3 lines
1.7.0.1

Thanks.�淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깸G쳺��{ay����,j�f"톒쉹��묎�z_溫(�쉸듶줷"얎�m����G쳺�◀?솳鈺�&x�~뤳턨O뺞촾퇉v�^�m����띠�◀?뻀�