Really fix sparc on 64-bit kernel/32-bit userland.
Commit b3a3020fd0 used a sparc64 ifdef instead of
sparc. But for 32-bit userland, __sparc64__ is not defined so the wrong code is
used.
			
			
This commit is contained in:
		
							parent
							
								
									f057de4f73
								
							
						
					
					
						commit
						d812f486a0
					
				|  | @ -85,7 +85,7 @@ static pciBusFuncs_t linuxFuncs0 = { | ||||||
| /* pciAddrHostToBus */	pciAddrNOOP, | /* pciAddrHostToBus */	pciAddrNOOP, | ||||||
| /* linuxTransAddrBusToHost is busted on sparc64 but the PCI rework tree
 | /* linuxTransAddrBusToHost is busted on sparc64 but the PCI rework tree
 | ||||||
|  * makes it all moot, so we kludge it for now */ |  * makes it all moot, so we kludge it for now */ | ||||||
| #if defined(__sparc64__) | #if defined(__sparc__) | ||||||
| /* pciAddrBusToHost */  pciAddrNOOP, | /* pciAddrBusToHost */  pciAddrNOOP, | ||||||
| #else | #else | ||||||
| /* pciAddrBusToHost */	linuxTransAddrBusToHost, | /* pciAddrBusToHost */	linuxTransAddrBusToHost, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue