Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen Remove duplicate def of tsc_get_timecount().



details:   https://anonhg.NetBSD.org/src/rev/a89899f55995
branches:  trunk
changeset: 933156:a89899f55995
user:      ad <ad%NetBSD.org@localhost>
date:      Tue May 19 21:57:25 2020 +0000

description:
Remove duplicate def of tsc_get_timecount().

diffstat:

 sys/arch/xen/xen/xen_machdep.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 5e65a4ae1ca3 -r a89899f55995 sys/arch/xen/xen/xen_machdep.c
--- a/sys/arch/xen/xen/xen_machdep.c    Tue May 19 21:56:51 2020 +0000
+++ b/sys/arch/xen/xen/xen_machdep.c    Tue May 19 21:57:25 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xen_machdep.c,v 1.24 2020/05/02 16:44:36 bouyer Exp $  */
+/*     $NetBSD: xen_machdep.c,v 1.25 2020/05/19 21:57:25 ad Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -53,7 +53,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xen_machdep.c,v 1.24 2020/05/02 16:44:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_machdep.c,v 1.25 2020/05/19 21:57:25 ad Exp $");
 
 #include "opt_xen.h"
 
@@ -227,13 +227,6 @@
 static void xen_prepare_suspend(void);
 static void xen_prepare_resume(void);
 
-u_int
-tsc_get_timecount(struct timecounter *tc)
-{
-
-       panic("xen: tsc_get_timecount");
-}
-
 /*
  * this function sets up the machdep.xen.suspend sysctl(7) that
  * controls domain suspend/save.



Home | Main Index | Thread Index | Old Index