Module Name: src Committed By: matt Date: Thu Jul 31 01:04:00 UTC 2014
Modified Files: src/sys/arch/powerpc/booke: trap_subr.S Log Message: Use symbolic constant for SPR. Fix comment. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/booke/trap_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/booke/trap_subr.S diff -u src/sys/arch/powerpc/booke/trap_subr.S:1.9 src/sys/arch/powerpc/booke/trap_subr.S:1.10 --- src/sys/arch/powerpc/booke/trap_subr.S:1.9 Wed Jul 30 23:56:01 2014 +++ src/sys/arch/powerpc/booke/trap_subr.S Thu Jul 31 01:04:00 2014 @@ -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 @@ _C_LABEL(exception_init): 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) */