Skip to content

Commit

Permalink
MIPS: Lasat: Fix compilation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Ralf Baechle committed Sep 17, 2009
1 parent 2608441 commit 6de4c6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/include/asm/lasat/lasat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6de4c6f

Please sign in to comment.