summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-23 16:26:41 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:55 -0400
commit06372a63e361a15fe464318f79e445a56b23d8a9 (patch)
tree480537f7873ec5051944eba77f639ca4567174e2
parentf060ac5460c5210489197569ef83ad66fc98ace2 (diff)
downloadlinux-06372a63e361a15fe464318f79e445a56b23d8a9.tar.gz
linux-06372a63e361a15fe464318f79e445a56b23d8a9.tar.bz2
linux-06372a63e361a15fe464318f79e445a56b23d8a9.zip
mips: fix implicit use of asm/elf.h in kernel/cpu-probe.c
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>
-rw-r--r--arch/mips/kernel/cpu-probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index ebc0cd20b35d..bc815eb952df 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -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>