David Woodhouse b607e21267 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 <David.Woodhouse@intel.com>
Cc: <stable@kernel.org>
Link: http://lkml.kernel.org/r/1358513837.2397.247.camel@shinybook.infradead.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Matt Fleming <matt.fleming@intel.com>
2013-01-27 20:19:37 -08:00
..
2008-04-19 19:19:54 +02:00
2007-10-11 11:16:45 +02:00
2009-02-19 17:13:00 +01:00
2007-10-11 11:16:45 +02:00
2009-03-11 11:00:00 -07:00
2011-12-12 14:26:10 -08:00
2009-07-04 12:56:32 -07:00