Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include KX needs to set on !O32 kernels



details:   https://anonhg.NetBSD.org/src/rev/31cdee3411d5
branches:  trunk
changeset: 346722:31cdee3411d5
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jul 30 06:27:45 2016 +0000

description:
KX needs to set on !O32 kernels

diffstat:

 sys/arch/mips/include/psl.h |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 9b5383ba73bf -r 31cdee3411d5 sys/arch/mips/include/psl.h
--- a/sys/arch/mips/include/psl.h       Sat Jul 30 06:20:54 2016 +0000
+++ b/sys/arch/mips/include/psl.h       Sat Jul 30 06:27:45 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.18 2009/12/14 00:46:05 matt Exp $    */
+/*     $NetBSD: psl.h,v 1.19 2016/07/30 06:27:45 matt Exp $    */
 
 /*
  * Copyright (c) 1992, 1993
@@ -48,11 +48,7 @@
 #define        MIPS3_PSL_LOWIPL        (MIPS3_INT_MASK | MIPS_SR_INT_IE)
 
 #if !defined(__mips_o32)
-# ifdef _LP64
-#  define MIPS3_PSL_XFLAGS     (MIPS3_SR_XX | MIPS_SR_KX)
-# else
-#  define MIPS3_PSL_XFLAGS     (MIPS3_SR_XX)
-# endif
+# define MIPS3_PSL_XFLAGS      (MIPS3_SR_XX | MIPS_SR_KX)
 #else
 # define MIPS3_PSL_XFLAGS      (0)
 #endif



Home | Main Index | Thread Index | Old Index