mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-28 16:00:41 +02:00
Fix module loading on alpha by not referencing MTRR symbols on
!__REALLY_HAVE_MTRR.
This commit is contained in:
parent
694291fbd3
commit
eaccc05b26
2 changed files with 4 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ int DRM(unbind_agp)(agp_memory *handle)
|
|||
}
|
||||
#endif /* __REALLY_HAVE_AGP */
|
||||
|
||||
#if __REALLY_HAVE_MTRR
|
||||
#ifdef __FreeBSD__
|
||||
int
|
||||
DRM(mtrr_add)(unsigned long offset, size_t size, int flags)
|
||||
|
|
@ -181,5 +182,6 @@ DRM(mtrr_del)(unsigned long offset, size_t size, int flags)
|
|||
return mtrr_set(&mtrrmap, &one, NULL, MTRR_GETSET_KERNEL);
|
||||
}
|
||||
#endif
|
||||
#endif /* __REALLY_HAVE_MTRR */
|
||||
|
||||
#endif /* DEBUG_MEMORY */
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ int DRM(unbind_agp)(agp_memory *handle)
|
|||
}
|
||||
#endif /* __REALLY_HAVE_AGP */
|
||||
|
||||
#if __REALLY_HAVE_MTRR
|
||||
#ifdef __FreeBSD__
|
||||
int
|
||||
DRM(mtrr_add)(unsigned long offset, size_t size, int flags)
|
||||
|
|
@ -181,5 +182,6 @@ DRM(mtrr_del)(unsigned long offset, size_t size, int flags)
|
|||
return mtrr_set(&mtrrmap, &one, NULL, MTRR_GETSET_KERNEL);
|
||||
}
|
||||
#endif
|
||||
#endif /* __REALLY_HAVE_MTRR */
|
||||
|
||||
#endif /* DEBUG_MEMORY */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue