summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorScott Soule Cheloha <cheloha@cvs.openbsd.org>2023-02-04 19:19:38 +0000
committerScott Soule Cheloha <cheloha@cvs.openbsd.org>2023-02-04 19:19:38 +0000
commit5d83a62e34dc252e5f4dc8b16e11a4602c929dc8 (patch)
tree0b5b760d505f69fb36b77a3e939a1599d80cc3f5 /sys/arch/loongson
parentd0288629176c1f44b860fc07b99dd46bde24baf6 (diff)
timecounting: remove incomplete PPS support
The timecounting code has had stubs for pulse-per-second (PPS) polling since it was imported in 2004. At this point it seems unlikely that anyone is going to finish adding PPS support, so let's remove the stubs: - Delete the dead tc_poll_pps() call from tc_windup(). - Remove all tc_poll_pps symbols from the kernel. Link: https://marc.info/?l=openbsd-tech&m=167519035723210&w=2 ok miod@
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/loongson/generic3a_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/loongson/loongson/generic3a_machdep.c b/sys/arch/loongson/loongson/generic3a_machdep.c
index 28d09905bc3..59e7583e390 100644
--- a/sys/arch/loongson/loongson/generic3a_machdep.c
+++ b/sys/arch/loongson/loongson/generic3a_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: generic3a_machdep.c,v 1.11 2021/07/24 08:21:13 visa Exp $ */
+/* $OpenBSD: generic3a_machdep.c,v 1.12 2023/02/04 19:19:36 cheloha Exp $ */
/*
* Copyright (c) 2009, 2010, 2012 Miodrag Vallat.
@@ -94,7 +94,6 @@ u_int rs780e_get_timecount(struct timecounter *);
struct timecounter rs780e_timecounter = {
.tc_get_timecount = rs780e_get_timecount,
- .tc_poll_pps = NULL,
.tc_counter_mask = 0xffffffffu, /* truncated to 32 bits */
.tc_frequency = HPET_FREQ,
.tc_name = "hpet",