diff options
author | 2020-05-17 08:48:15 +0000 | |
---|---|---|
committer | 2020-05-17 08:48:15 +0000 | |
commit | 780e31aa90f98df70f90e06f19b7bcab15a0616b (patch) | |
tree | 703237790dc90290c048185983eede336a25e5ef | |
parent | Prevent kcov from collecting coverage after the kernel has panicked. (diff) | |
download | wireguard-openbsd-780e31aa90f98df70f90e06f19b7bcab15a0616b.tar.xz wireguard-openbsd-780e31aa90f98df70f90e06f19b7bcab15a0616b.zip |
Do not redefine todr_handle. The variable now lives in kern_time.c.
OK kettenis@ cheloha@
-rw-r--r-- | sys/arch/sparc64/sparc64/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/clock.c b/sys/arch/sparc64/sparc64/clock.c index f1a4e453ae7..fd5e8a9c15b 100644 --- a/sys/arch/sparc64/sparc64/clock.c +++ b/sys/arch/sparc64/sparc64/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.60 2020/04/28 12:24:20 kettenis Exp $ */ +/* $OpenBSD: clock.c,v 1.61 2020/05/17 08:48:15 visa Exp $ */ /* $NetBSD: clock.c,v 1.41 2001/07/24 19:29:25 eeh Exp $ */ /* @@ -170,7 +170,7 @@ struct cfattach clock_fhc_ca = { }; /* Global TOD clock handle & idprom pointer */ -todr_chip_handle_t todr_handle = NULL; +extern todr_chip_handle_t todr_handle; static struct idprom *idprom; static int timermatch(struct device *, void *, void *); |