]> Git Repo - J-u-boot.git/blobdiff - drivers/bios_emulator/x86emu/prim_ops.c
esdhc/usdhc: Fix PIO mode bug in fsl_esdhc driver
[J-u-boot.git] / drivers / bios_emulator / x86emu / prim_ops.c
index e0827d7478263a784d633c0f527c109beb10ded0..5f6c795fb7ffc8f45334eac7dca5cca2a916ae10 100644 (file)
@@ -97,6 +97,8 @@
 *
 ****************************************************************************/
 
+#include <common.h>
+
 #define PRIM_OPS_NO_REDEFINE_ASM
 #include "x86emu/x86emui.h"
 
@@ -116,11 +118,6 @@ static u32 x86emu_parity_tab[8] =
 
 #define PARITY(x)   (((x86emu_parity_tab[(x) / 32] >> ((x) % 32)) & 1) == 0)
 #define XOR2(x)            (((x) ^ ((x)>>1)) & 0x1)
-/*----------------------------- Implementation ----------------------------*/
-int abs(int v)
-{
-       return (v>0)?v:-v;
-}
 
 /*----------------------------- Implementation ----------------------------*/
 
This page took 0.028149 seconds and 4 git commands to generate.