diff options
Diffstat (limited to 'arch/mips/cavium-octeon/setup.c')
| -rw-r--r-- | arch/mips/cavium-octeon/setup.c | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index d7e0a09f77c..b0baa299f89 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; @@ -319,7 +322,7 @@ EXPORT_SYMBOL(octeon_get_io_clock_rate);   * exists on most Cavium evaluation boards. If it doesn't exist, then   * this function doesn't do anything.   * - * @s:      String to write + * @s:	    String to write   */  void octeon_write_lcd(const char *s)  { @@ -341,7 +344,7 @@ void octeon_write_lcd(const char *s)  /**   * Return the console uart passed by the bootloader   * - * Returns uart   (0 or 1) + * Returns uart	  (0 or 1)   */  int octeon_get_boot_uart(void)  { @@ -805,7 +808,7 @@ void __init prom_init(void)  			/*  			 * To do: switch parsing to new style, something like:  			 * parse_crashkernel(arg, sysinfo->system_dram_size, -			 * 		  &crashk_size, &crashk_base); +			 *		  &crashk_size, &crashk_base);  			 */  #endif  		} else if (strlen(arcs_cmdline) + strlen(arg) + 1 < @@ -1013,7 +1016,7 @@ void __init plat_mem_setup(void)  }  /* - * Emit one character to the boot UART.  Exported for use by the + * Emit one character to the boot UART.	 Exported for use by the   * watchdog timer.   */  int prom_putchar(char c)  |