X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Fbios_emulator%2Fx86emu%2Fops2.c;h=d90d36629fce7c93a31a7645e429676cccaa12af;hb=eddc7c46c6030d6eca29ac254c9db98198be572d;hp=81c0d49a33397d116da4c5dcd19684446741d6fa;hpb=d1bc6c8d5f4a9c7ca9fb2292d5c65f846dcc3995;p=karo-tx-uboot.git diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c index 81c0d49a33..d90d36629f 100644 --- a/drivers/bios_emulator/x86emu/ops2.c +++ b/drivers/bios_emulator/x86emu/ops2.c @@ -44,10 +44,12 @@ * ****************************************************************************/ -#include "x86emu/x86emui.h" +#include #if defined(CONFIG_BIOSEMU) +#include "x86emu/x86emui.h" + /*----------------------------- Implementation ----------------------------*/ /**************************************************************************** @@ -1496,7 +1498,7 @@ void x86emuOp2_movsx_word_R_RM(u8 X86EMU_UNUSED(op2)) /*************************************************************************** * Double byte operation code table: **************************************************************************/ -void (*x86emu_optab2[256])(u8) __attribute__((section(".got2"))) = +void (*x86emu_optab2[256])(u8) __attribute__((section(GOT2_TYPE))) = { /* 0x00 */ x86emuOp2_illegal_op, /* Group F (ring 0 PM) */ /* 0x01 */ x86emuOp2_illegal_op, /* Group G (ring 0 PM) */