Module Name: src
Committed By: rin
Date: Wed Jul 15 07:52:58 UTC 2020
Modified Files:
src/sys/arch/powerpc/fpu: fpu_emu.c
Log Message:
Do not set ksi->ksi_addr twice. No functional changes.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/sys/arch/powerpc/fpu/fpu_emu.c:1.26
--- src/sys/arch/powerpc/fpu/fpu_emu.c:1.25 Wed Jul 15 07:37:25 2020
+++ src/sys/arch/powerpc/fpu/fpu_emu.c Wed Jul 15 07:52:58 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.c,v 1.25 2020/07/15 07:37:25 rin Exp $ */
+/* $NetBSD: fpu_emu.c,v 1.26 2020/07/15 07:52:58 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.25 2020/07/15 07:37:25 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.26 2020/07/15 07:52:58 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -211,7 +211,6 @@ fpu_emulate(struct trapframe *tf, struct
ksi->ksi_signo = SIGSEGV;
ksi->ksi_trap = EXC_ISI;
ksi->ksi_code = SEGV_MAPERR;
- ksi->ksi_addr = (void *)tf->tf_srr0;
return true;
}
@@ -226,7 +225,6 @@ fpu_emulate(struct trapframe *tf, struct
ksi->ksi_signo = SIGTRAP;
ksi->ksi_trap = EXC_PGM;
ksi->ksi_code = TRAP_TRACE;
- ksi->ksi_addr = (void *)tf->tf_srr0;
return true;
}
switch (fpu_execute(tf, &fe, &insn)) {