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:
committed by
Travis Geiselbrecht
parent
a94761f4bf
commit
aa1012ffc6
@@ -539,7 +539,7 @@ static int pci_bios_detect(void) {
|
|||||||
"=c"(busses),
|
"=c"(busses),
|
||||||
"=d"(signature)
|
"=d"(signature)
|
||||||
: "0"(PCIBIOS_PRESENT),
|
: "0"(PCIBIOS_PRESENT),
|
||||||
"S"(&bios32_entry)
|
"D"(&bios32_entry)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (present & 0xff00) {
|
if (present & 0xff00) {
|
||||||
|
|||||||
Reference in New Issue
Block a user