linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org, linux-next@vger.kernel.org,
	Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH -next] MIPS: ptrace: Add missing #include <asm/syscall.h>
Date: Mon, 17 Sep 2012 22:20:16 +0200	[thread overview]
Message-ID: <1347913216-11140-1-git-send-email-geert@linux-m68k.org> (raw)

arch/mips/kernel/ptrace.c: In function ‘syscall_trace_enter’:
arch/mips/kernel/ptrace.c:664: error: implicit declaration of function ‘__syscall_get_arch’
make[2]: *** [arch/mips/kernel/ptrace.o] Error 1

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
E.g. http://kisskb.ellerman.id.au/kisskb/buildresult/7223557/

 arch/mips/kernel/ptrace.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c
index 94fd0f4..cc7c44f 100644
--- a/arch/mips/kernel/ptrace.c
+++ b/arch/mips/kernel/ptrace.c
@@ -40,6 +40,7 @@
 #include <asm/uaccess.h>
 #include <asm/bootinfo.h>
 #include <asm/reg.h>
+#include <asm/syscall.h>
 
 /*
  * Called by kernel/ptrace.c when detaching..
-- 
1.7.0.4

             reply	other threads:[~2012-09-17 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 20:20 Geert Uytterhoeven [this message]
2012-09-23 17:36 ` [PATCH -next] MIPS: ptrace: Add missing #include <asm/syscall.h> Ralf Baechle
2012-09-24 18:23   ` David Daney
2012-09-26 21:09     ` Ralf Baechle

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=1347913216-11140-1-git-send-email-geert@linux-m68k.org \
    --to=geert@linux-m68k.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-next@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).