[PATCH] MIPS: fix build failure
From: Sudip Mukherjee
Date: Wed Oct 28 2015 - 06:08:49 EST
While building for mips defconfig the build failed with the error:
In function 'create_elf_tables':
arch/mips/include/asm/elf.h:425:14: error:
'AT_SYSINFO_EHDR' undeclared (first use in this function)
AT_SYSINFO_EHDR is defined in uapi/asm/auxvec.h which was not included
here.
Fixes: c1fb442ade67 ("MIPS: Initial implementation of a VDSO")
Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
---
This patch is based on mips-for-linux-next branch.
arch/mips/include/asm/elf.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/include/asm/elf.h b/arch/mips/include/asm/elf.h
index b01a6ff..acd6da2 100644
--- a/arch/mips/include/asm/elf.h
+++ b/arch/mips/include/asm/elf.h
@@ -11,6 +11,7 @@
#include <linux/auxvec.h>
#include <linux/fs.h>
#include <uapi/linux/elf.h>
+#include <uapi/asm/auxvec.h>
#include <asm/cpu-info.h>
#include <asm/current.h>
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/