Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea Use mtsprg0 instead of mtsprg 0, r
details: https://anonhg.NetBSD.org/src/rev/4772b10f9dca
branches: trunk
changeset: 765996:4772b10f9dca
user: matt <matt%NetBSD.org@localhost>
date: Sun Jun 12 16:27:52 2011 +0000
description:
Use mtsprg0 instead of mtsprg 0,r
diffstat:
sys/arch/powerpc/oea/cpu_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 10b1f7401d0a -r 4772b10f9dca sys/arch/powerpc/oea/cpu_subr.c
--- a/sys/arch/powerpc/oea/cpu_subr.c Sun Jun 12 16:27:14 2011 +0000
+++ b/sys/arch/powerpc/oea/cpu_subr.c Sun Jun 12 16:27:52 2011 +0000
@@ -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. */
Home |
Main Index |
Thread Index |
Old Index