mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-kernel@vger.kernel.org, Alex Smith <alex.smith@imgtec.com>,
	Markos Chandras <markos.chandras@imgtec.com>,
	Matthew Fortune <matthew.fortune@imgtec.com>,
	Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Subject: [PATCH] MIPS: fix build failure
Date: Wed, 28 Oct 2015 15:38:18 +0530	[thread overview]
Message-ID: <1446026898-10126-1-git-send-email-sudipm.mukherjee@gmail.com> (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


             reply	other threads:[~2015-10-28 10:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 10:08 Sudip Mukherjee [this message]
2015-10-28 10:18 ` Markos Chandras
2015-10-28 10:31   ` Markos Chandras
2015-10-28 10:48     ` Sudip Mukherjee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446026898-10126-1-git-send-email-sudipm.mukherjee@gmail.com \
    --to=sudipm.mukherjee@gmail.com \
    --cc=alex.smith@imgtec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markos.chandras@imgtec.com \
    --cc=matthew.fortune@imgtec.com \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®