diff options
author | Donnie Berkholz <donnie@supernova.(none)> | 2006-09-20 15:39:39 -0700 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2006-10-11 16:00:34 -0400 |
commit | 0790665ff02bb091177ea81ea4b545fd8d078b61 (patch) | |
tree | d1237cd032176dccf88157c3700428bb2736bbbd /hw | |
parent | e862a70a384f07cb3742632ef6921a0ab8b2aa91 (diff) |
Really fix sparc on 64-bit kernel/32-bit userland.
Commit b3a3020fd018df8bc5a8193d36e1a1c7ae8af8ba used a sparc64 ifdef instead of
sparc. But for 32-bit userland, __sparc64__ is not defined so the wrong code is
used.
(cherry picked from d812f486a01a6276aed7b4ebd3cd8eb8ddfe10d3 commit)
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/os-support/bus/linuxPci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index a97e6f0c9..c6dad1faa 100644 --- a/hw/xfree86/os-support/bus/linuxPci.c +++ b/hw/xfree86/os-support/bus/linuxPci.c @@ -85,7 +85,7 @@ static pciBusFuncs_t linuxFuncs0 = { /* pciAddrHostToBus */ pciAddrNOOP, /* linuxTransAddrBusToHost is busted on sparc64 but the PCI rework tree * makes it all moot, so we kludge it for now */ -#if defined(__sparc64__) +#if defined(__sparc__) /* pciAddrBusToHost */ pciAddrNOOP, #else /* pciAddrBusToHost */ linuxTransAddrBusToHost, |