Module Name:    src
Committed By:   riastradh
Date:           Mon Jul 17 13:48:14 UTC 2023

Modified Files:
        src/sys/kern: kern_tc.c

Log Message:
timecounter(9): No static; committed wrong version of patch.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/kern/kern_tc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_tc.c
diff -u src/sys/kern/kern_tc.c:1.68 src/sys/kern/kern_tc.c:1.69
--- src/sys/kern/kern_tc.c:1.68	Mon Jul 17 13:44:24 2023
+++ src/sys/kern/kern_tc.c	Mon Jul 17 13:48:14 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_tc.c,v 1.68 2023/07/17 13:44:24 riastradh Exp $ */
+/* $NetBSD: kern_tc.c,v 1.69 2023/07/17 13:48:14 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 /* __FBSDID("$FreeBSD: src/sys/kern/kern_tc.c,v 1.166 2005/09/19 22:16:31 andre Exp $"); */
-__KERNEL_RCSID(0, "$NetBSD: kern_tc.c,v 1.68 2023/07/17 13:44:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_tc.c,v 1.69 2023/07/17 13:48:14 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ntp.h"
@@ -135,8 +135,8 @@ struct timecounter *timecounter = &dummy
 static struct timecounter *timecounters = &dummy_timecounter;
 
 #ifdef __HAVE_ATOMIC64_LOADSTORE
-static volatile time_t time__second __cacheline_aligned = 1;
-static volatile time_t time__uptime __cacheline_aligned = 1;
+volatile time_t time__second __cacheline_aligned = 1;
+volatile time_t time__uptime __cacheline_aligned = 1;
 #else
 static volatile struct {
 	uint32_t lo, hi;

Reply via email to