lkml.org 
[lkml]   [2004]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectNUMA API for Linux 2/ Add x86-64 support
    Add NUMA API system calls on x86-64

    diff -u linux-2.6.5-numa/include/asm-x86_64/unistd.h-o linux-2.6.5-numa/include/asm-x86_64/unistd.h
    --- linux-2.6.5-numa/include/asm-x86_64/unistd.h-o 2004-03-17 12:17:59.000000000 +0100
    +++ linux-2.6.5-numa/include/asm-x86_64/unistd.h 2004-04-06 13:36:12.000000000 +0200
    @@ -532,10 +532,14 @@
    __SYSCALL(__NR_utimes, sys_utimes)
    #define __NR_vserver 236
    __SYSCALL(__NR_vserver, sys_ni_syscall)
    +#define __NR_mbind 237
    +__SYSCALL(__NR_mbind, sys_mbind)
    +#define __NR_set_mempolicy 238
    +__SYSCALL(__NR_set_mempolicy, sys_set_mempolicy)
    +#define __NR_get_mempolicy 239
    +__SYSCALL(__NR_get_mempolicy, sys_get_mempolicy)

    -/* 237,238,239 reserved for NUMA API */
    -
    -#define __NR_syscall_max __NR_vserver
    +#define __NR_syscall_max __NR_get_mempolicy
    #ifndef __NO_STUBS

    /* user-visible error numbers are in the range -1 - -4095 */
    -
    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: 2005-03-22 14:02    [W:2.301 / U:0.532 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site