Fixed a latent bug due to an erroneous reg spec. This would have gone undetected unless edi was clobbered between the bug and the previous asm block.

This commit is contained in:
Corey Tabaka
2009-04-03 16:46:34 -04:00
committed by Travis Geiselbrecht
parent a94761f4bf
commit aa1012ffc6

View File

@@ -539,7 +539,7 @@ static int pci_bios_detect(void) {
"=c"(busses),
"=d"(signature)
: "0"(PCIBIOS_PRESENT),
"S"(&bios32_entry)
"D"(&bios32_entry)
);
if (present & 0xff00) {