From: Ralf Baechle <ralf@linux-mips.org>
To: Jaswinder Singh <jaswinder@infradead.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
David Woodhouse <dwmw2@infradead.org>,
rth@twiddle.net, rmk@arm.linux.org.uk, hskinnemoen@atmel.com,
cooloney@kernel.org, starvik@axis.com, dhowells@redhat.com,
ysato@users.sourceforge.jp, tony.luck@intel.com,
takata@linux-m32r.org, geert@linux-m68k.org, matthew@wil.cx,
schwidefsky@de.ibm.com, lethal@linux-sh.org, chris@zankel.net
Subject: Re: [PATCH] Introducing asm/syscalls.h
Date: Sun, 20 Jul 2008 11:00:39 +0100 [thread overview]
Message-ID: <20080720100039.GA12514@linux-mips.org> (raw)
In-Reply-To: <1216544940.12650.13.camel@jaswinder.satnam>
On Sun, Jul 20, 2008 at 02:39:00PM +0530, Jaswinder Singh wrote:
> From: Jaswinder Singh <jaswinder@infradead.org>
> Date: Sun, 20 Jul 2008 14:39:00 +0530
> To: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
> David Woodhouse <dwmw2@infradead.org>, rth@twiddle.net,
> rmk@arm.linux.org.uk, hskinnemoen@atmel.com, cooloney@kernel.org,
> starvik@axis.com, dhowells@redhat.com, ysato@users.sourceforge.jp,
> tony.luck@intel.com, takata@linux-m32r.org, geert@linux-m68k.org,
> ralf@linux-mips.org, dhowells@redhat.com, matthew@wil.cx,
> schwidefsky@de.ibm.com, lethal@linux-sh.org, chris@zankel.net
> Subject: [PATCH] Introducing asm/syscalls.h
> Content-Type: text/plain
>
>
> Declaring arch-dependent syscalls for all architectures
> Beneficial for kernel and userspace
>
> Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
You write beneficial for userspace - but don't add <asm/syscall.h> to
include/asm-generic/Kbuild.asm. Fortunately. I doubt there is any good
reason for userspace to know about kernel prototypes. For configurations
where userspace and kernel API differ - think 32-bit code running on a
64-bit kernel or similar - that would be a receipe for disaster.
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Ralf
next prev parent reply other threads:[~2008-07-20 10:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-20 9:09 [PATCH] Introducing asm/syscalls.h Jaswinder Singh
2008-07-20 10:00 ` Ralf Baechle [this message]
2008-07-20 12:17 ` Jaswinder Singh
2008-07-20 13:06 ` Jaswinder Singh
2008-07-20 13:17 ` Ralf Baechle
2008-07-20 13:24 ` Jaswinder Singh
2008-07-20 19:05 ` David Woodhouse
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=20080720100039.GA12514@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=chris@zankel.net \
--cc=cooloney@kernel.org \
--cc=dhowells@redhat.com \
--cc=dwmw2@infradead.org \
--cc=geert@linux-m68k.org \
--cc=hskinnemoen@atmel.com \
--cc=jaswinder@infradead.org \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=mingo@elte.hu \
--cc=rmk@arm.linux.org.uk \
--cc=rth@twiddle.net \
--cc=schwidefsky@de.ibm.com \
--cc=starvik@axis.com \
--cc=takata@linux-m32r.org \
--cc=tony.luck@intel.com \
--cc=ysato@users.sourceforge.jp \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.