Fix build on FreeBSD/PowerPC architecture.
This commit is contained in:
parent
b1abb2efcb
commit
84ff599d0b
|
@ -79,7 +79,11 @@ xf86DisableIO()
|
|||
{
|
||||
|
||||
if (ioBase != MAP_FAILED) {
|
||||
#if defined(__FreeBSD__)
|
||||
munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000);
|
||||
#else
|
||||
munmap(__UNVOLATILE(ioBase), 0x10000);
|
||||
#endif
|
||||
ioBase = MAP_FAILED;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue