]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: fix implicit use of asm/elf.h in kernel/cpu-probe.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 23 Jul 2011 20:26:41 +0000 (16:26 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:24 +0000 (04:05 -0400)
We are relying on asm/elf.h being present implicitly.  Once we clean
up the root cause of that, we'll see this, so fix it in advance.

arch/mips/kernel/cpu-probe.c: In function 'set_elf_platform':
arch/mips/kernel/cpu-probe.c:298: error: '__elf_platform' undeclared (first use in this function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/kernel/cpu-probe.c

index ebc0cd20b35d612a1265a69cb1fb433d89bb41ae..bc815eb952dfc655df943242cd531ea839a71476 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/mipsregs.h>
 #include <asm/system.h>
 #include <asm/watch.h>
+#include <asm/elf.h>
 #include <asm/spram.h>
 #include <asm/uaccess.h>