10 static inline void fb_pgprotect(struct file
*file
, struct vm_area_struct
*vma
,
13 pgprot_val(vma
->vm_page_prot
) |= SUN3_PAGE_NOCACHE
;
16 static inline void fb_pgprotect(struct file
*file
, struct vm_area_struct
*vma
,
19 if (CPU_IS_020_OR_030
)
20 pgprot_val(vma
->vm_page_prot
) |= _PAGE_NOCACHE030
;
21 if (CPU_IS_040_OR_060
) {
22 pgprot_val(vma
->vm_page_prot
) &= _CACHEMASK040
;
23 /* Use no-cache mode, serialized */
24 pgprot_val(vma
->vm_page_prot
) |= _PAGE_NOCACHE_S
;
27 #endif /* CONFIG_SUN3 */
29 static inline int fb_is_primary_device(struct fb_info
*info
)
34 #endif /* _ASM_FB_H_ */