Skip to content

Commit

Permalink
Really fix sparc on 64-bit kernel/32-bit userland.
Browse files Browse the repository at this point in the history
Commit b3a3020 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 d812f48 commit)
  • Loading branch information
Donnie Berkholz authored and Adam Jackson committed Oct 11, 2006
1 parent e862a70 commit 0790665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/xfree86/os-support/bus/linuxPci.c
Expand Up @@ -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,
Expand Down

0 comments on commit 0790665

Please sign in to comment.