summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/ops2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu/ops2.c')
-rw-r--r--drivers/bios_emulator/x86emu/ops2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c
index 631a340..81c0d49 100644
--- a/drivers/bios_emulator/x86emu/ops2.c
+++ b/drivers/bios_emulator/x86emu/ops2.c
@@ -46,6 +46,8 @@
#include "x86emu/x86emui.h"
+#if defined(CONFIG_BIOSEMU)
+
/*----------------------------- Implementation ----------------------------*/
/****************************************************************************
@@ -1768,3 +1770,5 @@ void (*x86emu_optab2[256])(u8) __attribute__((section(".got2"))) =
/* 0xfe */ x86emuOp2_illegal_op,
/* 0xff */ x86emuOp2_illegal_op,
};
+
+#endif