WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [xenppc-unstable] [POWERPC][XEN] mfspr arg reversal

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC][XEN] mfspr arg reversal
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Aug 2006 22:40:41 +0000
Delivery-date: Wed, 30 Aug 2006 16:52:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [POWERPC][XEN] mfspr arg reversal, Xen patchbot-xenppc-unstable <=