lkml.org 
[lkml]   [2008]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Introducing asm/syscalls.h
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


\
 
 \ /
  Last update: 2008-07-20 12:11    [W:0.051 / U:0.388 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site