diff options
Diffstat (limited to 'sys/arch/riscv64')
-rw-r--r-- | sys/arch/riscv64/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/riscv64/riscv64/clock.c | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/riscv64/include/cpu.h b/sys/arch/riscv64/include/cpu.h index 7bd6c2cf998..aa1ae178f7d 100644 --- a/sys/arch/riscv64/include/cpu.h +++ b/sys/arch/riscv64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.17 2023/08/05 05:45:52 guenther Exp $ */ +/* $OpenBSD: cpu.h,v 1.18 2023/08/23 01:55:47 cheloha Exp $ */ /* * Copyright (c) 2019 Mike Larkin <mlarkin@openbsd.org> @@ -171,7 +171,6 @@ extern struct cpu_info *cpu_info_list; extern struct cpu_info *cpu_info[MAXCPUS]; void cpu_boot_secondary_processors(void); -void cpu_startclock(void); #endif /* !MULTIPROCESSOR */ diff --git a/sys/arch/riscv64/riscv64/clock.c b/sys/arch/riscv64/riscv64/clock.c index 0648a744179..cd8c8ec6da6 100644 --- a/sys/arch/riscv64/riscv64/clock.c +++ b/sys/arch/riscv64/riscv64/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.10 2023/07/25 18:16:21 cheloha Exp $ */ +/* $OpenBSD: clock.c,v 1.11 2023/08/23 01:55:47 cheloha Exp $ */ /* * Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org> @@ -56,7 +56,6 @@ static struct timecounter tb_timecounter = { .tc_user = TC_TB, }; -void cpu_startclock(void); int clock_intr(void *); void @@ -100,8 +99,6 @@ cpu_initclocks(void) evcount_attach(&clock_count, "clock", NULL); evcount_percpu(&clock_count); - - cpu_startclock(); } void |