util: add le32_to_cpu()
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 24 Oct 2011 08:11:07 +0000 (17:11 +0900)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 30 Oct 2011 17:39:12 +0000 (13:39 -0400)
this will be used later.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
src/util.h

index 174e94b6bea22a257a0b6a2648dd14788dd60a46..eecba8b21ee1ab0766a9cf608f0e5d4fc041f18d 100644 (file)
@@ -129,6 +129,11 @@ static inline u32 cpu_to_le32(u32 x)
     return x;
 }
 
+static inline u32 le32_to_cpu(u32 x)
+{
+    return x;
+}
+
 static inline u32 getesp(void) {
     u32 esp;
     asm("movl %%esp, %0" : "=rm"(esp));