lkml.org 
[lkml]   [2007]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 09/11] syslets: x86, wire up the syslet system calls
    From: Ingo Molnar <mingo@elte.hu>

    wire up the new syslet / async system call syscalls and make it
    thus available to user-space.

    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
    ---
    arch/i386/kernel/syscall_table.S | 5 +++++
    include/asm-i386/unistd.h | 7 ++++++-
    2 files changed, 11 insertions(+), 1 deletion(-)

    Index: linux/arch/i386/kernel/syscall_table.S
    ===================================================================
    --- linux.orig/arch/i386/kernel/syscall_table.S
    +++ linux/arch/i386/kernel/syscall_table.S
    @@ -319,3 +319,8 @@ ENTRY(sys_call_table)
    .long sys_move_pages
    .long sys_getcpu
    .long sys_epoll_pwait
    + .long sys_async_register /* 320 */
    + .long sys_async_exec
    + .long sys_async_wait
    + .long sys_async_unregister
    + .long sys_umem_add
    Index: linux/include/asm-i386/unistd.h
    ===================================================================
    --- linux.orig/include/asm-i386/unistd.h
    +++ linux/include/asm-i386/unistd.h
    @@ -325,10 +325,15 @@
    #define __NR_move_pages 317
    #define __NR_getcpu 318
    #define __NR_epoll_pwait 319
    +#define __NR_async_register 320
    +#define __NR_async_exec 321
    +#define __NR_async_wait 322
    +#define __NR_async_unregister 323
    +#define __NR_umem_add 324

    #ifdef __KERNEL__

    -#define NR_syscalls 320
    +#define NR_syscalls 325

    #define __ARCH_WANT_IPC_PARSE_VERSION
    #define __ARCH_WANT_OLD_READDIR
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-02-13 15:29    [W:0.023 / U:0.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site