[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] [pushed] DSISR is 32bits



changeset:   10272:dc809b55aec4572e0439c33ef833f6e1132fbf5c
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Fri May 12 16:27:21 2006 -0400
files:       xen/include/asm-ppc/processor.h
description:
DSISR is 32bits


diff -r d72f152493c099d44263a6668cd083f6ff93c4df -r 
dc809b55aec4572e0439c33ef833f6e1132fbf5c xen/include/asm-ppc/processor.h
--- a/xen/include/asm-ppc/processor.h   Fri May 12 16:26:49 2006 -0400
+++ b/xen/include/asm-ppc/processor.h   Fri May 12 16:27:21 2006 -0400
@@ -174,9 +174,9 @@ static inline void mtdsisr(ulong val)
 {
     __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_DSISR), "r"(val));
 }
-static inline ulong mfdsisr(void)
-{
-    ulong val;
+static inline unsigned mfdsisr(void)
+{
+    unsigned val;
     __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_DSISR));
     return val;
 }



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.