From: Heiko Carstens <heiko.carstens@de•ibm.com>
To: Arnd Bergmann <arnd@arndb•de>
Cc: linux-mips@vger•kernel.org,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership•com>,
Paul Mackerras <paulus@samba•org>,
"H. Peter Anvin" <hpa@zytor•com>,
sparclinux@vger•kernel.org, Will Deacon <will@kernel•org>,
linux-s390@vger•kernel.org, Paul Burton <paulburton@kernel•org>,
Helge Deller <deller@gmx•de>,
x86@kernel•org, Christian Borntraeger <borntraeger@de•ibm.com>,
Ingo Molnar <mingo@redhat•com>,
oprofile-list@lists•sf.net,
Catalin Marinas <catalin.marinas@arm•com>,
James Hogan <jhogan@kernel•org>, Robert Richter <rric@kernel•org>,
Vasily Gorbik <gor@linux•ibm.com>,
"James E.J. Bottomley" <jejb@linux•ibm.com>,
Borislav Petkov <bp@alien8•de>,
Thomas Gleixner <tglx@linutronix•de>,
linux-parisc@vger•kernel.org,
"Martin K. Petersen" <martin.petersen@oracle•com>,
linux-kernel@vger•kernel.org, Ralf Baechle <ralf@linux-mips•org>,
linuxppc-dev@lists•ozlabs.org,
"David S. Miller" <davem@davemloft•net>
Subject: Re: [PATCH v3 02/22] compat: provide compat_ptr() on all architectures
Date: Tue, 7 Jan 2020 18:51:20 +0100 [thread overview]
Message-ID: <20200107175120.GC4684@osiris> (raw)
In-Reply-To: <20200102145552.1853992-3-arnd@arndb.de>
On Thu, Jan 02, 2020 at 03:55:20PM +0100, Arnd Bergmann wrote:
> In order to avoid needless #ifdef CONFIG_COMPAT checks,
> move the compat_ptr() definition to linux/compat.h
> where it can be seen by any file regardless of the
> architecture.
>
> Only s390 needs a special definition, this can use the
> self-#define trick we have elsewhere.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb•de>
> ---
> arch/arm64/include/asm/compat.h | 17 -----------------
> arch/mips/include/asm/compat.h | 18 ------------------
> arch/parisc/include/asm/compat.h | 17 -----------------
> arch/powerpc/include/asm/compat.h | 17 -----------------
> arch/powerpc/oprofile/backtrace.c | 2 +-
> arch/s390/include/asm/compat.h | 6 +-----
> arch/sparc/include/asm/compat.h | 17 -----------------
> arch/x86/include/asm/compat.h | 17 -----------------
> include/linux/compat.h | 18 ++++++++++++++++++
> 9 files changed, 20 insertions(+), 109 deletions(-)
For s390:
Acked-by: Heiko Carstens <heiko.carstens@de•ibm.com>
prev parent reply other threads:[~2020-01-07 17:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200102145552.1853992-1-arnd@arndb.de>
2020-01-02 14:55 ` [PATCH v3 02/22] compat: provide compat_ptr() on all architectures Arnd Bergmann
2020-01-06 17:40 ` Will Deacon
2020-01-06 17:59 ` H. Peter Anvin
2020-01-07 2:05 ` Michael Ellerman
2020-01-07 8:08 ` Arnd Bergmann
2020-01-07 8:19 ` H. Peter Anvin
2020-01-07 17:51 ` Heiko Carstens [this message]
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=20200107175120.GC4684@osiris \
--to=heiko.carstens@de$(echo .)ibm.com \
--cc=James.Bottomley@hansenpartnership$(echo .)com \
--cc=arnd@arndb$(echo .)de \
--cc=borntraeger@de$(echo .)ibm.com \
--cc=bp@alien8$(echo .)de \
--cc=catalin.marinas@arm$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=deller@gmx$(echo .)de \
--cc=gor@linux$(echo .)ibm.com \
--cc=hpa@zytor$(echo .)com \
--cc=jejb@linux$(echo .)ibm.com \
--cc=jhogan@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mips@vger$(echo .)kernel.org \
--cc=linux-parisc@vger$(echo .)kernel.org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=martin.petersen@oracle$(echo .)com \
--cc=mingo@redhat$(echo .)com \
--cc=oprofile-list@lists$(echo .)sf.net \
--cc=paulburton@kernel$(echo .)org \
--cc=paulus@samba$(echo .)org \
--cc=ralf@linux-mips$(echo .)org \
--cc=rric@kernel$(echo .)org \
--cc=sparclinux@vger$(echo .)kernel.org \
--cc=tglx@linutronix$(echo .)de \
--cc=will@kernel$(echo .)org \
--cc=x86@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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