projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaa9fad
)
MIPS: Fix build error cavium-octeon without CONFIG_SMP
author
EunBong Song
<eunb.song@samsung.com>
Sun, 24 Mar 2013 22:18:35 +0000
(22:18 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 5 Apr 2013 13:10:39 +0000
(15:10 +0200)
Singed-off-by: EunBong Song <eunb.song@samsung.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/cavium-octeon/setup.c
b/arch/mips/cavium-octeon/setup.c
index c594a3d4f743be31d2933e5ed5589f423d8a3743..b0baa299f899b3c2322c0a4346cc4947dcfc2457 100644
(file)
--- 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;