Module Name: src
Committed By: joerg
Date: Thu Jul 31 12:11:37 UTC 2014
Modified Files:
src/sys/arch/powerpc/booke: trap.c
Log Message:
Fix macro spelling.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/powerpc/booke/trap.c
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.c
diff -u src/sys/arch/powerpc/booke/trap.c:1.25 src/sys/arch/powerpc/booke/trap.c:1.26
--- src/sys/arch/powerpc/booke/trap.c:1.25 Thu Jul 31 01:01:55 2014
+++ src/sys/arch/powerpc/booke/trap.c Thu Jul 31 12:11:37 2014
@@ -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 @@ emulate_opcode(struct trapframe *tf, ksi
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;
}