Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/booke Use symbolic constant for SPR. Fix c...
details: https://anonhg.NetBSD.org/src/rev/2693734607e4
branches: trunk
changeset: 331087:2693734607e4
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 31 01:04:00 2014 +0000
description:
Use symbolic constant for SPR. Fix comment.
diffstat:
sys/arch/powerpc/booke/trap_subr.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 47138055989d -r 2693734607e4 sys/arch/powerpc/booke/trap_subr.S
--- a/sys/arch/powerpc/booke/trap_subr.S Thu Jul 31 01:01:55 2014 +0000
+++ b/sys/arch/powerpc/booke/trap_subr.S Thu Jul 31 01:04:00 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap_subr.S,v 1.9 2014/07/30 23:56:01 joerg Exp $ */
+/* $NetBSD: trap_subr.S,v 1.10 2014/07/31 01:04:00 matt Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -34,7 +34,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-RCSID("$NetBSD: trap_subr.S,v 1.9 2014/07/30 23:56:01 joerg Exp $")
+RCSID("$NetBSD: trap_subr.S,v 1.10 2014/07/31 01:04:00 matt Exp $")
.globl _C_LABEL(sctrapexit), _C_LABEL(trapexit), _C_LABEL(intrcall)
@@ -858,7 +858,7 @@
ori %r5,%r6,_C_LABEL(perfmon_vector)@l
mtspr SPR_IVOR35, %r5
- mfspr %r5, 286 /* get Process ID register */
+ mfspr %r5, SPR_PIR /* get Processor ID register */
cmplwi %r5,0
bnelr /* return if non-0 (non-primary) */
Home |
Main Index |
Thread Index |
Old Index