From baae94052fa4cebbd64fcc478d1a2bec2b642748 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Mon, 24 Oct 2011 17:11:07 +0900 Subject: [PATCH] util: add le32_to_cpu() this will be used later. Signed-off-by: Isaku Yamahata --- src/util.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util.h b/src/util.h index 174e94b..eecba8b 100644 --- a/src/util.h +++ b/src/util.h @@ -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)); -- 2.25.1