summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64/include
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2021-07-24 22:41:10 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2021-07-24 22:41:10 +0000
commitdf6eded9346cd76f9609ee91798c37fd914f3a17 (patch)
treeed6d89011e8632dea95a4a64d2bff4f9b1398561 /sys/arch/riscv64/include
parentc014fc69ca403223b4db4eeddcaac61a3832ea2d (diff)
riscv64 userland timecounter support
ok kettenis@
Diffstat (limited to 'sys/arch/riscv64/include')
-rw-r--r--sys/arch/riscv64/include/timetc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/riscv64/include/timetc.h b/sys/arch/riscv64/include/timetc.h
index 5b5bd942162..284749253cf 100644
--- a/sys/arch/riscv64/include/timetc.h
+++ b/sys/arch/riscv64/include/timetc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: timetc.h,v 1.2 2021/05/12 01:20:52 jsg Exp $ */
+/* $OpenBSD: timetc.h,v 1.3 2021/07/24 22:41:09 jca Exp $ */
/*
* Copyright (c) 2020 Paul Irofti <paul@irofti.net>
@@ -19,5 +19,6 @@
#ifndef _MACHINE_TIMETC_H_
#define _MACHINE_TIMETC_H_
+#define TC_TB 1
#endif /* _MACHINE_TIMETC_H_ */