Module Name: src Committed By: matt Date: Wed Jul 30 23:27:55 UTC 2014
Modified Files: src/sys/arch/powerpc/powerpc: locore_subr.S Log Message: Fix diagnostic trap to be correct. PSL_EE@l would be sign-extended and this could never match the result of the andi. before it. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/powerpc/powerpc/locore_subr.S 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/powerpc/locore_subr.S diff -u src/sys/arch/powerpc/powerpc/locore_subr.S:1.53 src/sys/arch/powerpc/powerpc/locore_subr.S:1.54 --- src/sys/arch/powerpc/powerpc/locore_subr.S:1.53 Wed Jul 30 23:15:23 2014 +++ src/sys/arch/powerpc/powerpc/locore_subr.S Wed Jul 30 23:27:55 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: locore_subr.S,v 1.53 2014/07/30 23:15:23 joerg Exp $ */ +/* $NetBSD: locore_subr.S,v 1.54 2014/07/30 23:27:55 matt Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -304,7 +304,7 @@ ENTRY_NOPROFILE(emptyidlespin) twnei %r4,IPL_NONE mfmsr %r5 andi. %r5,%r5,PSL_EE@l - tweqi %r5,PSL_EE@l + tweqi %r5,0 #endif blr /* CPUINIT needs a raw blr */