mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-18 01:20:43 +01:00
Fix build on FreeBSD/PowerPC architecture.
This commit is contained in:
parent
b1abb2efcb
commit
84ff599d0b
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue