Module Name: src
Committed By: matt
Date: Sun Jun 12 16:27:14 UTC 2011
Modified Files:
src/sys/arch/powerpc/include: cpu.h
Log Message:
Use mfsprg0 instead of mfsprg r,0
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/powerpc/include/cpu.h
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/include/cpu.h
diff -u src/sys/arch/powerpc/include/cpu.h:1.77 src/sys/arch/powerpc/include/cpu.h:1.78
--- src/sys/arch/powerpc/include/cpu.h:1.77 Sun Jun 5 16:52:25 2011
+++ src/sys/arch/powerpc/include/cpu.h Sun Jun 12 16:27:14 2011
@@ -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;
}