Module Name: src Committed By: skrll Date: Tue Sep 20 06:53:37 UTC 2022
Modified Files: src/sys/arch/riscv/riscv: riscv_machdep.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/riscv/riscv/riscv_machdep.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/arch/riscv/riscv/riscv_machdep.c diff -u src/sys/arch/riscv/riscv/riscv_machdep.c:1.16 src/sys/arch/riscv/riscv/riscv_machdep.c:1.17 --- src/sys/arch/riscv/riscv/riscv_machdep.c:1.16 Tue Sep 20 06:48:29 2022 +++ src/sys/arch/riscv/riscv/riscv_machdep.c Tue Sep 20 06:53:36 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: riscv_machdep.c,v 1.16 2022/09/20 06:48:29 skrll Exp $ */ +/* $NetBSD: riscv_machdep.c,v 1.17 2022/09/20 06:53:36 skrll Exp $ */ /*- * Copyright (c) 2014, 2019 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #include "opt_modular.h" -__RCSID("$NetBSD: riscv_machdep.c,v 1.16 2022/09/20 06:48:29 skrll Exp $"); +__RCSID("$NetBSD: riscv_machdep.c,v 1.17 2022/09/20 06:53:36 skrll Exp $"); #include <sys/param.h> @@ -258,10 +258,10 @@ cpu_need_resched(struct cpu_info *ci, st if ((flags & RESCHED_KPREEMPT) != 0) { #ifdef __HAVE_PREEMPTION if ((flags & RESCHED_REMOTE) != 0) { - cpu_send_ipi(ci, IPI_KPREEMPT); + cpu_send_ipi(ci, IPI_KPREEMPT); } else { softint_trigger(SOFTINT_KPREEMPT); - } + } #endif return; }