xfs
[Top] [All Lists]

correct patch was Re: TAKE - make xfs's in memory extents host byte orde

To: Andi Kleen <ak@xxxxxxx>
Subject: correct patch was Re: TAKE - make xfs's in memory extents host byte ordered
From: Andi Kleen <ak@xxxxxxx>
Date: Fri, 11 Oct 2002 03:09:12 +0200
Cc: Stephen Lord <lord@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20021011030451.A27822@xxxxxxxxxxxxx>
References: <200210101909.g9AJ9pd12773@xxxxxxxxxxxxxxxxxxxx> <20021010213259.A23019@xxxxxxxxxxxxx> <1034296295.1074.28.camel@xxxxxxxxxxxxxxxxxxxxxxx> <20021011030451.A27822@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.22.1i
Last mail had the wrong patch. Here is the correct one that should 
actually compile


--- linux/include/linux/byteorder/swab.h-o      2001-07-26 22:45:47.000000000 
+0200
+++ linux/include/linux/byteorder/swab.h        2002-10-11 03:03:32.000000000 
+0200
@@ -167,11 +167,11 @@
 }
 static __inline__ __u64 __swab64p(__u64 *x)
 {
-       return __arch__swab64p(x);
+       *x = __fswab64(*x);
 }
 static __inline__ void __swab64s(__u64 *addr)
 {
-       __arch__swab64s(addr);
+       *addr = __fswab64(*addr);
 }
 #endif /* __BYTEORDER_HAS_U64__ */
 


<Prev in Thread] Current Thread [Next in Thread>