From: Alexey Dobriyan Date: Wed, 12 Aug 2009 19:59:27 +0000 (+0400) Subject: MIPS: Lasat: Fix compilation X-Git-Tag: v2.6.32-rc1~658^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6de4c6f9c8ead69d2f423ea80a384ef98bb4b3f8;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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: Alexey Dobriyan Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/include/asm/lasat/lasat.h b/arch/mips/include/asm/lasat/lasat.h index caeba1e..a1ada1c 100644 --- 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 +#include /* calculating with the slowest board with 100 MHz clock */ #define LASAT_100_DIVIDER 20