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>
Mon, 31 Oct 2011 23:30:55 +0000 (19:30 -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 ebc0cd2..bc815eb 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>