diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-02-28 19:44:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-02-28 19:44:17 +0000 |
commit | de8bf6e6d2408a404009b1cac8a3322252172415 (patch) | |
tree | 8369d37a27d5106b25371e937f7a397739cb1277 /sys/kern | |
parent | f1bb5f8faf7cbe1267de717d9816dfa2b29c0819 (diff) |
Rather than adding amd64 to the 64-bit platform which do not require the
old COMPAT_10 SysV syscalls, check for __LP64__ instead.
ok deraadt@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/syscalls.master | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 2226ab4d15b..27b4f403fcd 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ -; $OpenBSD: syscalls.master,v 1.67 2004/01/14 05:23:25 tedu Exp $ +; $OpenBSD: syscalls.master,v 1.68 2004/02/28 19:44:16 miod Exp $ ; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -308,22 +308,19 @@ 166 UNIMPL 167 UNIMPL 168 UNIMPL -; XXX more generally, never on machines where sizeof(void *) != sizeof(int) -#if defined(SYSVSEM) && !defined(alpha) && !defined(__sparc64__) +#if defined(SYSVSEM) && !defined(__LP64__) 169 COMPAT_10 { int sys_semsys(int which, int a2, int a3, int a4, \ int a5); } osemsys #else 169 UNIMPL 1.0 semsys #endif -; XXX more generally, never on machines where sizeof(void *) != sizeof(int) -#if defined(SYSVMSG) && !defined(alpha) && !defined(__sparc64__) +#if defined(SYSVMSG) && !defined(__LP64__) 170 COMPAT_10 { int sys_msgsys(int which, int a2, int a3, int a4, \ int a5, int a6); } omsgsys #else 170 UNIMPL 1.0 msgsys #endif -; XXX more generally, never on machines where sizeof(void *) != sizeof(int) -#if defined(SYSVSHM) && !defined(alpha) && !defined(__sparc64__) +#if defined(SYSVSHM) && !defined(__LP64__) 171 COMPAT_10 { int sys_shmsys(int which, int a2, int a3, int a4); } \ oshmsys #else |