MIPS: Lasat: Fix compilation
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 12 Aug 2009 19:59:27 +0000 (23:59 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:42 +0000 (20:07 +0200)
Header needed for current_cpu_data which expands to smp_processor_id().
However, linux/smp.h can't be included into asm/cpu-info.h due to horrible
circular dependencies, so plug it here.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/lasat/lasat.h

index caeba1e302a29c8b477348931e33be6284c009b2..a1ada1c27c16c305ea92c889ae8e83b9742af021 100644 (file)
@@ -227,6 +227,7 @@ extern void lasat_write_eeprom_info(void);
  * It is used for the bit-banging rtc and eeprom drivers */
 
 #include <linux/delay.h>
+#include <linux/smp.h>
 
 /* calculating with the slowest board with 100 MHz clock */
 #define LASAT_100_DIVIDER 20