Skip to content

Commit

Permalink
MIPS: Fix build error cavium-octeon without CONFIG_SMP
Browse files Browse the repository at this point in the history
Singed-off-by: EunBong Song <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
EunBongSong authored and ralfbaechle committed Apr 5, 2013
1 parent aaa9fad commit ed1197f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/mips/cavium-octeon/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ed1197f

Please sign in to comment.