[PATCH] mips: fix compilation of mips-lasat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---

 arch/mips/include/asm/lasat/lasat.h |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/mips/include/asm/lasat/lasat.h
+++ b/arch/mips/include/asm/lasat/lasat.h
@@ -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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux