Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/common Remove duplicate syscall package...



details:   https://anonhg.NetBSD.org/src/rev/1bccd452b630
branches:  pgoyette-compat
changeset: 830697:1bccd452b630
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Sep 13 23:33:56 2018 +0000

description:
Remove duplicate syscall package entry for ntp_gettime30.  Duplicate
entries cause a panic when disestablishing, since when it looks at the
second entry it finds that the entrypoint doesn't match what's in the
package (it's alrady been reverted to sys_nosys() by the first entry.)

diffstat:

 sys/compat/common/kern_time_50.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r e6c5da74cd42 -r 1bccd452b630 sys/compat/common/kern_time_50.c
--- a/sys/compat/common/kern_time_50.c  Thu Sep 13 22:53:52 2018 +0000
+++ b/sys/compat/common/kern_time_50.c  Thu Sep 13 23:33:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_time_50.c,v 1.31.16.2 2018/03/20 08:11:25 pgoyette Exp $  */
+/*     $NetBSD: kern_time_50.c,v 1.31.16.3 2018/09/13 23:33:56 pgoyette Exp $  */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time_50.c,v 1.31.16.2 2018/03/20 08:11:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time_50.c,v 1.31.16.3 2018/09/13 23:33:56 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_aio.h"
@@ -102,8 +102,6 @@
            (sy_call_t *)compat_50_sys_timer_gettime },
        { SYS_compat_50___ntp_gettime30, 0,
            (sy_call_t *)compat_50_sys___ntp_gettime30 },
-       { SYS_compat_50___ntp_gettime30, 0,
-           (sy_call_t *)compat_50_sys___ntp_gettime30 },
        { 0, 0, NULL }
 }; 
 



Home | Main Index | Thread Index | Old Index