diff options
Diffstat (limited to 'arch/x86/boot/compressed')
-rw-r--r-- | arch/x86/boot/compressed/head_32.S | 2 | ||||
-rw-r--r-- | arch/x86/boot/compressed/head_64.S | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S index cccc05f0681c..de9d4200d305 100644 --- a/arch/x86/boot/compressed/head_32.S +++ b/arch/x86/boot/compressed/head_32.S | |||
@@ -229,12 +229,14 @@ relocated: | |||
229 | xorl %ebx, %ebx | 229 | xorl %ebx, %ebx |
230 | jmp *%eax | 230 | jmp *%eax |
231 | 231 | ||
232 | #ifdef CONFIG_EFI_STUB | ||
232 | .data | 233 | .data |
233 | efi32_config: | 234 | efi32_config: |
234 | .fill 11,8,0 | 235 | .fill 11,8,0 |
235 | .long efi_call_phys | 236 | .long efi_call_phys |
236 | .long 0 | 237 | .long 0 |
237 | .byte 0 | 238 | .byte 0 |
239 | #endif | ||
238 | 240 | ||
239 | /* | 241 | /* |
240 | * Stack and heap for uncompression | 242 | * Stack and heap for uncompression |
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S index 4f40cddd025d..57e58a5fa210 100644 --- a/arch/x86/boot/compressed/head_64.S +++ b/arch/x86/boot/compressed/head_64.S | |||
@@ -440,6 +440,7 @@ gdt: | |||
440 | .quad 0x0000000000000000 /* TS continued */ | 440 | .quad 0x0000000000000000 /* TS continued */ |
441 | gdt_end: | 441 | gdt_end: |
442 | 442 | ||
443 | #ifdef CONFIG_EFI_STUB | ||
443 | efi_config: | 444 | efi_config: |
444 | .quad 0 | 445 | .quad 0 |
445 | 446 | ||
@@ -456,6 +457,8 @@ efi64_config: | |||
456 | .fill 11,8,0 | 457 | .fill 11,8,0 |
457 | .quad efi_call6 | 458 | .quad efi_call6 |
458 | .byte 1 | 459 | .byte 1 |
460 | #endif /* CONFIG_EFI_STUB */ | ||
461 | |||
459 | /* | 462 | /* |
460 | * Stack and heap for uncompression | 463 | * Stack and heap for uncompression |
461 | */ | 464 | */ |