Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/kern Revert changes for the scheduler-activati...



details:   https://anonhg.NetBSD.org/src/rev/694c8a2b8812
branches:  pgoyette-compat
changeset: 321041:694c8a2b8812
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Mar 16 00:35:40 2018 +0000

description:
Revert changes for the scheduler-activation syscalls.  It's not
needed, as the syscalls are already marked ENOSYS if these sys-calls
are not built-in (ie, option COMPAT_60 is not specified;  if they
are built-in, the stubs in kern_sa_60.c still return ENOSYS, so no
change.

diffstat:

 sys/kern/syscalls.master |  20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diffs (35 lines):

diff -r 03468ba4a21c -r 694c8a2b8812 sys/kern/syscalls.master
--- a/sys/kern/syscalls.master  Thu Mar 15 23:34:53 2018 +0000
+++ b/sys/kern/syscalls.master  Fri Mar 16 00:35:40 2018 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.291.2.2 2018/03/15 23:04:48 pgoyette Exp $
+       $NetBSD: syscalls.master,v 1.291.2.3 2018/03/16 00:35:40 pgoyette Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -656,19 +656,13 @@
 328    UNIMPL
 329    UNIMPL
 ; SA system calls.
-330    COMPAT_60 MODULAR compat_60     \
-                       { int|sys||sa_register(void *newv, void **oldv, \
+330    COMPAT_60       { int|sys||sa_register(void *newv, void **oldv, \
                                int flags, ssize_t stackinfo_offset); }
-331    COMPAT_60  MODULAR compat_60    \
-                       { int|sys||sa_stacks(int num, stack_t *stacks); }
-332    COMPAT_60  MODULAR compat_60    \
-                       { int|sys||sa_enable(void); }
-333    COMPAT_60  MODULAR compat_60    \
-                       { int|sys||sa_setconcurrency(int concurrency); }
-334    COMPAT_60  MODULAR compat_60    \
-                       { int|sys||sa_yield(void); }
-335    COMPAT_60  MODULAR compat_60    \
-                       { int|sys||sa_preempt(int sa_id); }
+331    COMPAT_60       { int|sys||sa_stacks(int num, stack_t *stacks); }
+332    COMPAT_60       { int|sys||sa_enable(void); }
+333    COMPAT_60       { int|sys||sa_setconcurrency(int concurrency); }
+334    COMPAT_60       { int|sys||sa_yield(void); }
+335    COMPAT_60       { int|sys||sa_preempt(int sa_id); }
 336    OBSOL           sys_sa_unblockyield
 ;
 ; Syscalls 337-339 are reserved for other scheduler activation syscalls.



Home | Main Index | Thread Index | Old Index