Commit 06372a63e361a15fe464318f79e445a56b23d8a9

Authored by Paul Gortmaker
1 parent f060ac5460

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/mips/kernel/cpu-probe.c
... ... @@ -24,6 +24,7 @@
24 24 #include <asm/mipsregs.h>
25 25 #include <asm/system.h>
26 26 #include <asm/watch.h>
  27 +#include <asm/elf.h>
27 28 #include <asm/spram.h>
28 29 #include <asm/uaccess.h>
29 30