Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349420
b: refs/heads/master
c: b607e21
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and H. Peter Anvin committed Jan 28, 2013
1 parent acb56b7 commit c1ddac9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f791620fa7517e1045742c475a7f005db9a634b8
refs/heads/master: b607e2126705ca28ecf21aa051172882bbdaae8a
7 changes: 6 additions & 1 deletion trunk/arch/x86/boot/compressed/eboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,15 @@ static efi_status_t setup_efi_pci(struct boot_params *params)
if (!pci)
continue;

#ifdef CONFIG_X86_64
status = efi_call_phys4(pci->attributes, pci,
EfiPciIoAttributeOperationGet, 0,
&attributes);

#else
status = efi_call_phys5(pci->attributes, pci,
EfiPciIoAttributeOperationGet, 0, 0,
&attributes);
#endif
if (status != EFI_SUCCESS)
continue;

Expand Down

0 comments on commit c1ddac9

Please sign in to comment.