mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-30 23:58:01 +02:00
Bugzilla Bug #8819
Build fixes for powerpc. Reported by Katerina Barone-Adesi
This commit is contained in:
parent
56563c22d6
commit
4b04c0cc45
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
static void drm_ttm_ipi_handler(void *null)
|
||||
{
|
||||
wbinvd();
|
||||
flush_agp_cache();
|
||||
}
|
||||
|
||||
static void drm_ttm_cache_flush(void)
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma)
|
|||
}
|
||||
#elif defined(__powerpc__)
|
||||
pgprot_val(tmp) |= _PAGE_NO_CACHE;
|
||||
if (map->type == _DRM_REGISTERS)
|
||||
if (map_type == _DRM_REGISTERS)
|
||||
pgprot_val(tmp) |= _PAGE_GUARDED;
|
||||
#endif
|
||||
#if defined(__ia64__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue