summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64
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/riscv64
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/riscv64')
-rw-r--r--sys/arch/riscv64/riscv64/clock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/riscv64/riscv64/clock.c b/sys/arch/riscv64/riscv64/clock.c
index 44459d35758..9c66f41fa8f 100644
--- a/sys/arch/riscv64/riscv64/clock.c
+++ b/sys/arch/riscv64/riscv64/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.8 2023/01/27 15:37:16 cheloha Exp $ */
+/* $OpenBSD: clock.c,v 1.9 2023/02/04 19:19:37 cheloha Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -48,7 +48,6 @@ u_int tb_get_timecount(struct timecounter *);
static struct timecounter tb_timecounter = {
.tc_get_timecount = tb_get_timecount,
- .tc_poll_pps = NULL,
.tc_counter_mask = 0xffffffff,
.tc_frequency = 0,
.tc_name = "tb",