提交 6de4c6f9 编写于 作者: A Alexey Dobriyan 提交者: Ralf Baechle

MIPS: Lasat: Fix compilation

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: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 26084411
...@@ -227,6 +227,7 @@ extern void lasat_write_eeprom_info(void); ...@@ -227,6 +227,7 @@ extern void lasat_write_eeprom_info(void);
* It is used for the bit-banging rtc and eeprom drivers */ * It is used for the bit-banging rtc and eeprom drivers */
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/smp.h>
/* calculating with the slowest board with 100 MHz clock */ /* calculating with the slowest board with 100 MHz clock */
#define LASAT_100_DIVIDER 20 #define LASAT_100_DIVIDER 20
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册