Messages in this thread Patch in this message | | | Date | Fri, 14 Jan 2000 15:53:30 -0500 (EST) | From | Chuck Lever <> | Subject | [PATCH] fix Sparc syscall numbering |
| |
linus-
please apply this against 2.3.40-pre3, thanks.
diff -ruN Linux-2.3.40-3/include/asm-sparc/unistd.h linux/include/asm-sparc/unistd.h --- Linux-2.3.40-3/include/asm-sparc/unistd.h Fri Jan 14 15:43:09 2000 +++ linux/include/asm-sparc/unistd.h Fri Jan 14 15:21:00 2000 @@ -90,10 +90,10 @@ #define __NR_setreuid32 72 /* Linux sparc32, vadvise under SunOS */ #define __NR_munmap 73 /* Common */ #define __NR_mprotect 74 /* Common */ -#define __NR_setregid32 75 /* Linux sparc32, madvise under SunOS */ +#define __NR_madvise 75 /* Common */ #define __NR_vhangup 76 /* Common */ #define __NR_truncate64 77 /* Linux sparc32 Specific */ -#define __NR_getgroups32 78 /* Linux sparc32, mincore under SunOS */ +#define __NR_mincore 78 /* Common */ #define __NR_getgroups 79 /* Common */ #define __NR_setgroups 80 /* Common */ #define __NR_getpgrp 81 /* Common */ @@ -127,10 +127,10 @@ #define __NR_getresuid32 109 /* Linux Specific, sigblock under SunOS */ #define __NR_setresgid32 110 /* Linux Specific, sigsetmask under SunOS */ #define __NR_getresgid32 111 /* Linux Specific, sigpause under SunOS */ -/* #define __NR_sigstack 112 SunOS Specific */ +#define __NR_setregid32 112 /* Linux sparc32, sigstack under SunOS */ #define __NR_recvmsg 113 /* Common */ #define __NR_sendmsg 114 /* Common */ -/* #define __NR_vtrace 115 SunOS Specific */ +#define __NR_getgroups32 115 /* Linux sparc32, vtrace under SunOS */ #define __NR_gettimeofday 116 /* Common */ #define __NR_getrusage 117 /* Common */ #define __NR_getsockopt 118 /* Common */ diff -ruN Linux-2.3.40-3/include/asm-sparc64/unistd.h linux/include/asm-sparc64/unistd.h --- Linux-2.3.40-3/include/asm-sparc64/unistd.h Fri Jan 14 15:43:09 2000 +++ linux/include/asm-sparc64/unistd.h Fri Jan 14 15:24:04 2000 @@ -90,10 +90,10 @@ /* #define __NR_setreuid32 72 Linux sparc32, vadvise under SunOS */ #define __NR_munmap 73 /* Common */ #define __NR_mprotect 74 /* Common */ -/* #define __NR_setregid32 75 Linux sparc32, madvise under SunOS */ +#define __NR_madvise 75 /* Common */ #define __NR_vhangup 76 /* Common */ /* #define __NR_truncate64 77 Linux sparc32 Specific */ -/* #define __NR_getgroups32 78 Linux sparc32, mincore under SunOS */ +#define __NR_mincore 78 /* Common */ #define __NR_getgroups 79 /* Common */ #define __NR_setgroups 80 /* Common */ #define __NR_getpgrp 81 /* Common */ @@ -127,10 +127,10 @@ #define __NR_getresuid 109 /* Linux Specific, sigblock under SunOS */ #define __NR_setresgid 110 /* Linux Specific, sigsetmask under SunOS */ #define __NR_getresgid 111 /* Linux Specific, sigpause under SunOS */ -/* #define __NR_sigstack 112 SunOS Specific */ +/* #define __NR_setregid32 75 Linux sparc32, sigstack under SunOS */ #define __NR_recvmsg 113 /* Common */ #define __NR_sendmsg 114 /* Common */ -/* #define __NR_vtrace 115 SunOS Specific */ +/* #define __NR_getgroups32 115 Linux sparc32, vtrace under SunOS */ #define __NR_gettimeofday 116 /* Common */ #define __NR_getrusage 117 /* Common */ #define __NR_getsockopt 118 /* Common */ - Chuck Lever -- corporate: <chuckl@netscape.com> personal: <chucklever@netscape.net> or <cel@monkey.org>
The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |