Skip to content

Commit c0a4f5b

Browse files
committed
Merge tag 'for-linus-5.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross: "One build fix and a minor fix for suppressing a useless warning when booting a Xen dom0 via UEFI" * tag 'for-linus-5.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: Fix build error when CONFIG_ACPI is not set/enabled: efi: avoid error message when booting under Xen
2 parents 985c788 + ee87e15 commit c0a4f5b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch/x86/pci/xen.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <asm/xen/pci.h>
2727
#include <asm/xen/cpuid.h>
2828
#include <asm/apic.h>
29+
#include <asm/acpi.h>
2930
#include <asm/i8259.h>
3031

3132
static int xen_pcifront_enable_irq(struct pci_dev *dev)

drivers/video/fbdev/efifb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static int efifb_probe(struct platform_device *dev)
453453
info->apertures->ranges[0].base = efifb_fix.smem_start;
454454
info->apertures->ranges[0].size = size_remap;
455455

456-
if (efi_enabled(EFI_BOOT) &&
456+
if (efi_enabled(EFI_MEMMAP) &&
457457
!efi_mem_desc_lookup(efifb_fix.smem_start, &md)) {
458458
if ((efifb_fix.smem_start + efifb_fix.smem_len) >
459459
(md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT))) {

0 commit comments

Comments
 (0)