Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Use mfsprg0 instead of mfsprg r, 0
details: https://anonhg.NetBSD.org/src/rev/10b1f7401d0a
branches: trunk
changeset: 765995:10b1f7401d0a
user: matt <matt%NetBSD.org@localhost>
date: Sun Jun 12 16:27:14 2011 +0000
description:
Use mfsprg0 instead of mfsprg r,0
diffstat:
sys/arch/powerpc/include/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 38e4fd2de31b -r 10b1f7401d0a sys/arch/powerpc/include/cpu.h
--- a/sys/arch/powerpc/include/cpu.h Sun Jun 12 16:16:26 2011 +0000
+++ b/sys/arch/powerpc/include/cpu.h Sun Jun 12 16:27:14 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.77 2011/06/05 16:52:25 matt Exp $ */
+/* $NetBSD: cpu.h,v 1.78 2011/06/12 16:27:14 matt Exp $ */
/*
* Copyright (C) 1999 Wolfgang Solfrank.
@@ -203,7 +203,7 @@
{
struct cpu_info *ci;
- __asm volatile ("mfsprg %0,0" : "=r"(ci));
+ __asm volatile ("mfsprg0 %0" : "=r"(ci));
return ci;
}
Home |
Main Index |
Thread Index |
Old Index