Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/arch/powerpc/fpu Pull up following revision(s) (reque...
details: https://anonhg.NetBSD.org/src/rev/9421a0847a57
branches: netbsd-7
changeset: 800105:9421a0847a57
user: snj <snj%NetBSD.org@localhost>
date: Tue Jan 03 06:37:25 2017 +0000
description:
Pull up following revision(s) (requested by rin in ticket #1342):
sys/arch/powerpc/fpu/fpu_emu.c: revision 1.18
Fix build without DDB.
diffstat:
sys/arch/powerpc/fpu/fpu_emu.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 701418a6f3bd -r 9421a0847a57 sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c Tue Jan 03 06:19:21 2017 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c Tue Jan 03 06:37:25 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.c,v 1.16.14.1 2017/01/03 06:19:21 snj Exp $ */
+/* $NetBSD: fpu_emu.c,v 1.16.14.2 2017/01/03 06:37:25 snj Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.16.14.1 2017/01/03 06:19:21 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.16.14.2 2017/01/03 06:37:25 snj Exp $");
#include "opt_ddb.h"
@@ -248,14 +248,14 @@
case NOTFPU:
default:
DPRINTF(FPE_EX, ("fpu_emulate: SIGILL\n"));
-#ifdef DEBUG
+#if defined(DDB) && defined(DEBUG)
if (fpe_debug & FPE_EX) {
printf("fpu_emulate: illegal insn %x at %p:",
insn.i_int, (void *) (tf->tf_srr0));
opc_disasm((vaddr_t)(tf->tf_srr0), insn.i_int);
}
#endif
-#if defined(PPC_IBM4XX) && defined(DEBUG)
+#if defined(PPC_IBM4XX) && defined(DDB) && defined(DEBUG)
/*
* XXXX retry an illegal insn once due to cache issues.
*/
@@ -265,7 +265,7 @@
Debugger();
}
lastill = tf->tf_srr0;
-#endif /* PPC_IBM4XX && DEBUG */
+#endif /* PPC_IBM4XX && DDB && DEBUG */
return false;
}
}
Home |
Main Index |
Thread Index |
Old Index