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 Fix macro spelling.



details:   https://anonhg.NetBSD.org/src/rev/f71631d67dca
branches:  trunk
changeset: 797862:f71631d67dca
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jul 31 12:11:37 2014 +0000

description:
Fix macro spelling.

diffstat:

 sys/arch/powerpc/booke/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 13f699567a84 -r f71631d67dca sys/arch/powerpc/booke/trap.c
--- a/sys/arch/powerpc/booke/trap.c     Thu Jul 31 10:44:58 2014 +0000
+++ b/sys/arch/powerpc/booke/trap.c     Thu Jul 31 12:11:37 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.25 2014/07/31 01:01:55 matt Exp $   */
+/*     $NetBSD: trap.c,v 1.26 2014/07/31 12:11:37 joerg Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.25 2014/07/31 01:01:55 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.26 2014/07/31 12:11:37 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -430,7 +430,7 @@
        if (OPC_MFSPR_P(opcode, SPR_PIR)) {
                __asm ("mfspr %0, %1"
                    :   "=r"(tf->tf_fixreg[OPC_MFSPR_REG(opcode)])
-                   :   "n"(SPL_PIR));
+                   :   "n"(SPR_PIR));
                return true;
        }
 



Home | Main Index | Thread Index | Old Index