• Christoph Hellwig's avatar
    Add generic sys_ipc wrapper · baed7fc9
    Christoph Hellwig authored
    Add a generic implementation of the ipc demultiplexer syscall.  Except for
    s390 and sparc64 all implementations of the sys_ipc are nearly identical.
    
    There are slight differences in the types of the parameters, where mips
    and powerpc as the only 64-bit architectures with sys_ipc use unsigned
    long for the "third" argument as it gets casted to a pointer later, while
    it traditionally is an "int" like most other paramters.  frv goes even
    further and uses unsigned long for all parameters execept for "ptr" which
    is a pointer type everywhere.  The change from int to unsigned long for
    "third" and back to "int" for the others on frv should be fine due to the
    in-register calling conventions for syscalls (we already had a similar
    issue with the generic sys_ptrace), but I'd prefer to have the arch
    maintainers looks over this in details.
    
    Except for that h8300, m68k and m68knommu lack an impplementation of the
    semtimedop sub call which this patch adds, and various architectures have
    gets used - at least on i386 it seems superflous as the compat code on
    x86-64 and ia64 doesn't even bother to implement it.
    
    [akpm@linux-foundation.org: add sys_ipc to sys_ni.c]
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Cc: Jeff Dike <jdike@addtoit.com>
    Cc: Hirokazu Takata <takata@linux-m32r.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@elte.hu>
    Reviewed-by: default avatarH. Peter Anvin <hpa@zytor.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Cc: "Luck, Tony" <tony.luck@intel.com>
    Cc: James Morris <jmorris@namei.org>
    Cc: Andreas Schwab <schwab@linux-m68k.org>
    Acked-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
    Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    Acked-by: default avatarDavid Howells <dhowells@redhat.com>
    Acked-by: default avatarKyle McMartin <kyle@mcmartin.ca>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    baed7fc9
Name
Last commit
Last update
..
boot Loading commit data...
common Loading commit data...
configs Loading commit data...
include/asm Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mach-aaec2000 Loading commit data...
mach-at91 Loading commit data...
mach-bcmring Loading commit data...
mach-clps711x Loading commit data...
mach-davinci Loading commit data...
mach-dove Loading commit data...
mach-ebsa110 Loading commit data...
mach-ep93xx Loading commit data...
mach-footbridge Loading commit data...
mach-gemini Loading commit data...
mach-h720x Loading commit data...
mach-integrator Loading commit data...
mach-iop13xx Loading commit data...
mach-iop32x Loading commit data...
mach-iop33x Loading commit data...
mach-ixp2000 Loading commit data...
mach-ixp23xx Loading commit data...
mach-ixp4xx Loading commit data...
mach-kirkwood Loading commit data...
mach-ks8695 Loading commit data...
mach-l7200 Loading commit data...
mach-lh7a40x Loading commit data...
mach-loki Loading commit data...
mach-mmp Loading commit data...
mach-msm Loading commit data...
mach-mv78xx0 Loading commit data...
mach-mx1 Loading commit data...
mach-mx2 Loading commit data...
mach-mx25 Loading commit data...
mach-mx3 Loading commit data...
mach-mxc91231 Loading commit data...
mach-netx Loading commit data...
mach-nomadik Loading commit data...
mach-ns9xxx Loading commit data...
mach-nuc93x Loading commit data...
mach-omap1 Loading commit data...
mach-omap2 Loading commit data...
mach-orion5x Loading commit data...
mach-pnx4008 Loading commit data...
mach-pxa Loading commit data...
mach-realview Loading commit data...
mach-rpc Loading commit data...
mach-s3c2400 Loading commit data...
mach-s3c2410 Loading commit data...
mach-s3c2412 Loading commit data...
mach-s3c2440 Loading commit data...
mach-s3c2442 Loading commit data...
mach-s3c2443 Loading commit data...
mach-s3c24a0/include/mach Loading commit data...
mach-s3c6400 Loading commit data...
mach-s3c6410 Loading commit data...
mach-s5pc100 Loading commit data...
mach-sa1100 Loading commit data...
mach-shark Loading commit data...
mach-stmp378x Loading commit data...
mach-stmp37xx Loading commit data...
mach-u300 Loading commit data...
mach-ux500 Loading commit data...
mach-versatile Loading commit data...
mach-w90x900 Loading commit data...
mm Loading commit data...
nwfpe Loading commit data...
oprofile Loading commit data...
plat-iop Loading commit data...
plat-mxc Loading commit data...
plat-nomadik Loading commit data...
plat-omap Loading commit data...
plat-orion Loading commit data...
plat-pxa Loading commit data...
plat-s3c Loading commit data...
plat-s3c24xx Loading commit data...
plat-s3c64xx Loading commit data...
plat-s5pc1xx Loading commit data...
plat-samsung Loading commit data...
plat-stmp3xxx Loading commit data...
tools Loading commit data...
vfp Loading commit data...
Kconfig Loading commit data...
Kconfig-nommu Loading commit data...
Kconfig.debug Loading commit data...
Makefile Loading commit data...