Module Name:    src
Committed By:   rin
Date:           Wed Jul 27 04:17:02 UTC 2022

Modified Files:
        src/sys/arch/powerpc/fpu: fpu_emu.c

Log Message:
Correct stale comment. Thanks rillig@ for pointed out. NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/powerpc/fpu/fpu_emu.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/powerpc/fpu/fpu_emu.c
diff -u src/sys/arch/powerpc/fpu/fpu_emu.c:1.35 src/sys/arch/powerpc/fpu/fpu_emu.c:1.36
--- src/sys/arch/powerpc/fpu/fpu_emu.c:1.35	Tue Jul 26 16:08:33 2022
+++ src/sys/arch/powerpc/fpu/fpu_emu.c	Wed Jul 27 04:17:02 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: fpu_emu.c,v 1.35 2022/07/26 16:08:33 rin Exp $ */
+/*	$NetBSD: fpu_emu.c,v 1.36 2022/07/27 04:17:02 rin Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.35 2022/07/26 16:08:33 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.36 2022/07/27 04:17:02 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -189,8 +189,8 @@ fpu_dumpfpn(struct fpn *fp)
 
 /*
  * Emulate a floating-point instruction.
- * Return zero for success, else signal number.
- * (Typically: zero, SIGFPE, SIGILL, SIGSEGV)
+ * Return true if insn is consumed anyway.
+ * Otherwise, the caller must take care of it.
  */
 bool
 fpu_emulate(struct trapframe *tf, struct fpreg *fpf, ksiginfo_t *ksi)

Reply via email to