summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu/debug.c')
-rw-r--r--drivers/bios_emulator/x86emu/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/debug.c b/drivers/bios_emulator/x86emu/debug.c
index 0f58a6963f..915739c5b0 100644
--- a/drivers/bios_emulator/x86emu/debug.c
+++ b/drivers/bios_emulator/x86emu/debug.c
@@ -40,6 +40,8 @@
#include "x86emu/x86emui.h"
#include <stdarg.h>
+#if defined(CONFIG_BIOSEMU)
+
/*----------------------------- Implementation ----------------------------*/
#ifdef DEBUG
@@ -459,3 +461,5 @@ void x86emu_dump_xregs(void)
printk("NC ");
printk("\n");
}
+
+#endif