diff options
Diffstat (limited to 'src/arch/x86/boot/wakeup.S')
-rw-r--r-- | src/arch/x86/boot/wakeup.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/boot/wakeup.S b/src/arch/x86/boot/wakeup.S index a614b55f03..38d6ea43ae 100644 --- a/src/arch/x86/boot/wakeup.S +++ b/src/arch/x86/boot/wakeup.S @@ -24,7 +24,12 @@ /* CR0 bits */ #define PE (1 << 0) +#ifdef __x86_64__ + .code64 +#else .code32 +#endif + .globl __wakeup __wakeup: /* First prepare the jmp to the resume vector */ |