Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1257877

[PATCH] MIPS: fix build failure

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] MIPS: fix build failure
Date 2015-10-28 11:10 +0100
Message-ID <qovQ6-1eB-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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@vectorindia.org>
---

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] MIPS: fix build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-10-28 11:10 +0100
  Re: [PATCH] MIPS: fix build failure Markos Chandras <Markos.Chandras@imgtec.com> - 2015-10-28 11:20 +0100
    Re: [PATCH] MIPS: fix build failure Markos Chandras <Markos.Chandras@imgtec.com> - 2015-10-28 11:40 +0100
      Re: [PATCH] MIPS: fix build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-10-28 11:50 +0100

csiph-web