From 002275a3ed8b114885f6702d6d544d0780dfe689 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 16 Aug 2007 08:54:10 +0200 Subject: Bios emulator - fix microblaze toolchain problem microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek --- drivers/bios_emulator/x86emu/prim_ops.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/bios_emulator/x86emu/prim_ops.c') diff --git a/drivers/bios_emulator/x86emu/prim_ops.c b/drivers/bios_emulator/x86emu/prim_ops.c index c1152ea..2a254a4 100644 --- a/drivers/bios_emulator/x86emu/prim_ops.c +++ b/drivers/bios_emulator/x86emu/prim_ops.c @@ -97,11 +97,14 @@ * ****************************************************************************/ +#include + #define PRIM_OPS_NO_REDEFINE_ASM -#include "x86emu/x86emui.h" #if defined(CONFIG_BIOSEMU) +#include "x86emu/x86emui.h" + /*------------------------- Global Variables ------------------------------*/ static u32 x86emu_parity_tab[8] = -- cgit v1.1