Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <adobriyan@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Alexey Dobriyan and committed by
Ralf Baechle
6de4c6f9 26084411

+1
+1
arch/mips/include/asm/lasat/lasat.h
··· 227 227 * It is used for the bit-banging rtc and eeprom drivers */ 228 228 229 229 #include <linux/delay.h> 230 + #include <linux/smp.h> 230 231 231 232 /* calculating with the slowest board with 100 MHz clock */ 232 233 #define LASAT_100_DIVIDER 20