mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [patch 6/13] s390: sigcontext.h vs __user.
Date: Thu, 12 Jan 2006 18:15:38 +0100	[thread overview]
Message-ID: <20060112171538.GG16629@skybase.boeblingen.de.ibm.com> (raw)

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

[patch 6/13] s390: sigcontext.h vs __user.

Add an include of linux/compiler.h in sigcontext.h to avoid compiler
errors in user space apps because of a missing definition for __user.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

---

 include/asm-s390/sigcontext.h |    2 ++
 1 files changed, 2 insertions(+)

diff -urpN linux-2.6/include/asm-s390/sigcontext.h linux-2.6-patched/include/asm-s390/sigcontext.h
--- linux-2.6/include/asm-s390/sigcontext.h	2006-01-03 04:21:10.000000000 +0100
+++ linux-2.6-patched/include/asm-s390/sigcontext.h	2006-01-12 15:43:56.000000000 +0100
@@ -8,6 +8,8 @@
 #ifndef _ASM_S390_SIGCONTEXT_H
 #define _ASM_S390_SIGCONTEXT_H
 
+#include <linux/compiler.h>
+
 #define __NUM_GPRS 16
 #define __NUM_FPRS 16
 #define __NUM_ACRS 16

                 reply	other threads:[~2006-01-12 17:16 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=20060112171538.GG16629@skybase.boeblingen.de.ibm.com \
    --to=schwidefsky@de.ibm.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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®