# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID e12aa1195f5842a9bb1cc141e6f515f5bd446352
# Parent  a879ac8a102979730b4a9f3befcfec56bced1ed2
[POWERPC][XEN] mfspr arg reversal
---
 xen/include/asm-powerpc/powerpc64/processor.h |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff -r a879ac8a1029 -r e12aa1195f58 
xen/include/asm-powerpc/powerpc64/processor.h
--- a/xen/include/asm-powerpc/powerpc64/processor.h     Wed Aug 30 18:18:32 
2006 -0400
+++ b/xen/include/asm-powerpc/powerpc64/processor.h     Wed Aug 30 18:35:20 
2006 -0400
@@ -138,12 +138,11 @@ static inline void mthid0(ulong val)
     __asm__ __volatile__ (
             "sync\n"
             "mtspr %0, %1\n"
-            "mfspr %0, %1\n"
-            "mfspr %0, %1\n"
-            "mfspr %0, %1\n"
-            "mfspr %0, %1\n"
-            "mfspr %0, %1\n"
-            "mfspr %0, %1\n"
+            "mfspr %1, %0\n"
+            "mfspr %1, %0\n"
+            "mfspr %1, %0\n"
+            "mfspr %1, %0\n"
+            "mfspr %1, %0\n"
             "isync\n"
             : : "i"(SPRN_HID0), "r"(val));
 }

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to