Fix macro spelling.
This commit is contained in:
parent
3dc5e80777
commit
a86549a1aa
|
@ -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, ksiginfo_t *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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue