From: Guenter Roeck <linux@roeck-us.net>
To: Jonas Bonn <jonas@southpole.se>
Cc: linux@openrisc.net, linux-kernel@vger.kernel.org,
Guenter Roeck <linux@roeck-us.net>,
Eric Paris <eparis@redhat.com>
Subject: [PATCH] openrisc: Fix build failure
Date: Sun, 10 Aug 2014 09:05:02 -0700 [thread overview]
Message-ID: <1407686702-15149-1-git-send-email-linux@roeck-us.net> (raw)
Openrisc build fails with
In file included from arch/openrisc/kernel/signal.c:31:0:
./arch/openrisc/include/asm/syscall.h: In function 'syscall_get_arch':
./arch/openrisc/include/asm/syscall.h:77:9: error:
'EM_OPENRISC' undeclared (first use in this function)
make[1]: *** [arch/openrisc/kernel/signal.o] Error 1
Introduced by commit "ARCH: AUDIT: implement syscall_get_arch for all arches".
Fix by adding a missing include file.
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Only applies to -next at this time.
arch/openrisc/kernel/signal.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c
index 7d1b823..a887cd8 100644
--- a/arch/openrisc/kernel/signal.c
+++ b/arch/openrisc/kernel/signal.c
@@ -27,6 +27,7 @@
#include <linux/stddef.h>
#include <linux/tracehook.h>
+#include <asm/elf.h>
#include <asm/processor.h>
#include <asm/syscall.h>
#include <asm/ucontext.h>
--
1.9.1
reply other threads:[~2014-08-10 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1407686702-15149-1-git-send-email-linux@roeck-us.net \
--to=linux@roeck-us.net \
--cc=eparis@redhat.com \
--cc=jonas@southpole.se \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@openrisc.net \
/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®