lkml.org 
[lkml]   [2000]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.043 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site