From: David Woodhouse Date: Mon, 7 Jan 2013 22:09:49 +0000 (+0000) Subject: x86, efi: Fix PCI ROM handing in EFI boot stub, in 32-bit mode X-Git-Tag: v3.8-rc6~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b607e2126705ca28ecf21aa051172882bbdaae8a;p=pandora-kernel.git x86, efi: Fix PCI ROM handing in EFI boot stub, in 32-bit mode The 'Attributes' argument to pci->Attributes() function is 64-bit. So when invoking in 32-bit mode it takes two registers, not just one. This fixes memory corruption when booting via the 32-bit EFI boot stub. Signed-off-by: David Woodhouse Cc: Link: http://lkml.kernel.org/r/1358513837.2397.247.camel@shinybook.infradead.org Signed-off-by: H. Peter Anvin Cc: Matt Fleming --- Reading git-diff-tree failed