From 23f6ed01aa328e02082d6c22815307dd5cacf7e1 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Wed, 14 Dec 1994 17:57:47 +0000 Subject: [PATCH] Actually enable NTP kernel PLL. (Oops!) Noticed by Pete Carah. --- sys/kern/init_sysent.c | 3 ++- sys/kern/syscalls.master | 4 ++-- sys/sys/syscall-hide.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 9353297e4883..8c68240d134a 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -154,6 +154,7 @@ int msgsys(); int shmsys(); #else #endif +int ntp_adjtime(); int setgid(); int setegid(); int seteuid(); @@ -459,7 +460,7 @@ struct sysent sysent[] = { { 0, nosys }, /* 173 = nosys */ { 0, nosys }, /* 174 = nosys */ { 0, nosys }, /* 175 = nosys */ - { 1, nosys }, /* 176 = ntp_adjtime */ + { 1, ntp_adjtime }, /* 176 = ntp_adjtime */ { 0, nosys }, /* 177 = nosys */ { 0, nosys }, /* 178 = nosys */ { 0, nosys }, /* 179 = nosys */ diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 0e7c986a3099..dc8953f84693 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.10 1994/09/28 22:44:47 wollman Exp $ + $Id: syscalls.master,v 1.11 1994/10/02 04:45:52 davidg Exp $ ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; ; System call name/number master file. @@ -241,7 +241,7 @@ 173 UNIMPL 0 NOHIDE nosys 174 UNIMPL 0 NOHIDE nosys 175 UNIMPL 0 NOHIDE nosys -176 STD 1 BSD nosys ntp_adjtime +176 STD 1 BSD ntp_adjtime 177 UNIMPL 0 NOHIDE nosys 178 UNIMPL 0 NOHIDE nosys 179 UNIMPL 0 NOHIDE nosys diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h index df95ef14fc0a..b40f3d93987d 100644 --- a/sys/sys/syscall-hide.h +++ b/sys/sys/syscall-hide.h @@ -188,7 +188,7 @@ HIDE_BSD(shmsys) #else HIDE_BSD(nosys) #endif -HIDE_BSD(nosys) +HIDE_BSD(ntp_adjtime) HIDE_POSIX(setgid) HIDE_BSD(setegid) HIDE_BSD(seteuid)