summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2019-09-07 05:13:31 +0000
committerPhilip Paeps <philip@FreeBSD.org>2019-09-07 05:13:31 +0000
commitbdc786cc7c990e5b299a4a31588f0b618d9e5c55 (patch)
tree28a18b7b9e0808f3a83f7bd9d223dac610f4108b
parent1af51473bc9a8ab4bd7f2c9c6cce890f0d5fc638 (diff)
Notes
-rw-r--r--sys/kern/subr_param.c2
-rw-r--r--sys/riscv/conf/QEMU1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index c0025c07eed6c..92d1066da3830 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$");
*/
#ifndef HZ
-# if defined(__mips__) || defined(__arm__) || defined(__riscv)
+# if defined(__mips__) || defined(__arm__)
# define HZ 100
# else
# define HZ 1000
diff --git a/sys/riscv/conf/QEMU b/sys/riscv/conf/QEMU
index 7abe44bdab58a..34a52e41c3ee8 100644
--- a/sys/riscv/conf/QEMU
+++ b/sys/riscv/conf/QEMU
@@ -6,4 +6,5 @@ include "GENERIC"
ident QEMU
+options HZ=100
options ROOTDEVNAME=\"ufs:/dev/vtbd0\"