Module Name: src
Committed By: matt
Date: Sun Jun 12 16:27:52 UTC 2011
Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c
Log Message:
Use mtsprg0 instead of mtsprg 0,r
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/powerpc/oea/cpu_subr.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/oea/cpu_subr.c
diff -u src/sys/arch/powerpc/oea/cpu_subr.c:1.63 src/sys/arch/powerpc/oea/cpu_subr.c:1.64
--- src/sys/arch/powerpc/oea/cpu_subr.c:1.63 Sun Jun 5 16:52:25 2011
+++ src/sys/arch/powerpc/oea/cpu_subr.c Sun Jun 12 16:27:52 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_subr.c,v 1.63 2011/06/05 16:52:25 matt Exp $ */
+/* $NetBSD: cpu_subr.c,v 1.64 2011/06/12 16:27:52 matt Exp $ */
/*-
* Copyright (c) 2001 Matt Thomas.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.63 2011/06/05 16:52:25 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.64 2011/06/12 16:27:52 matt Exp $");
#include "opt_ppcparam.h"
#include "opt_multiprocessor.h"
@@ -1295,7 +1295,7 @@
if (msr != h->pir)
mtspr(SPR_PIR, h->pir);
- __asm volatile ("mtsprg 0,%0" :: "r"(ci));
+ __asm volatile ("mtsprg0 %0" :: "r"(ci));
cpu_spinstart_ack = 0;
/* Initialize MMU. */