Messages in this thread Patch in this message | | | Date | Sun, 24 Mar 2013 23:18:36 +0000 (GMT) | From | 송은봉 <> | 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@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.
| |