| /* SPDX-License-Identifier: GPL-2.0 */ |
| static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, |
| pgprot_val(vma->vm_page_prot) |= SUN3_PAGE_NOCACHE; |
| static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, |
| pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE030; |
| pgprot_val(vma->vm_page_prot) &= _CACHEMASK040; |
| /* Use no-cache mode, serialized */ |
| pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE_S; |
| #define fb_pgprotect(...) do {} while (0) |
| static inline int fb_is_primary_device(struct fb_info *info) |