Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Fix typo. N32 doesn't want UX on.
details: https://anonhg.NetBSD.org/src/rev/81efcf7e321a
branches: trunk
changeset: 346717:81efcf7e321a
user: matt <matt%NetBSD.org@localhost>
date: Sat Jul 30 05:55:34 2016 +0000
description:
Fix typo. N32 doesn't want UX on.
diffstat:
sys/arch/mips/mips/mips_machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 755324108188 -r 81efcf7e321a sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Fri Jul 29 20:29:38 2016 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Sat Jul 30 05:55:34 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.273 2016/07/25 22:10:03 macallan Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.274 2016/07/30 05:55:34 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.273 2016/07/25 22:10:03 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.274 2016/07/30 05:55:34 matt Exp $");
#define __INTR_PRIVATE
#include "opt_cputype.h"
@@ -2069,9 +2069,9 @@
pcb->pcb_context.val[_L_SR] = MIPS_SR_INT_IE
| (ipl_sr_map.sr_bits[IPL_SCHED] ^ MIPS_INT_MASK);
-#ifdef _mips_n32
- pcb->pcb_context.val[_L_SR] |= MIPS_SR_KX | MIPS_SR_UX;
- l->l_md.md_utf->tf_regs[_R_SR] = MIPS_SR_KX | MIPS_SR_UX;
+#ifdef __mips_n32
+ pcb->pcb_context.val[_L_SR] |= MIPS_SR_KX;
+ l->l_md.md_utf->tf_regs[_R_SR] = MIPS_SR_KX;
#endif
#ifdef _LP64
pcb->pcb_context.val[_L_SR] |= MIPS_SR_KX | MIPS_SR_UX;
Home |
Main Index |
Thread Index |
Old Index