8 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
11 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
13 #define fb_pgprotect fb_pgprotect
16 * MIPS doesn't define __raw_ I/O macros, so the helpers
17 * in <asm-generic/fb.h> don't generate fb_readq() and
18 * fb_write(). We have to provide them here.
20 * TODO: Convert MIPS to generic I/O. The helpers below can
24 static inline u64 fb_readq(const volatile void __iomem *addr)
26 return __raw_readq(addr);
28 #define fb_readq fb_readq
30 static inline void fb_writeq(u64 b, volatile void __iomem *addr)
32 __raw_writeq(b, addr);
34 #define fb_writeq fb_writeq
37 #include <asm-generic/fb.h>
39 #endif /* _ASM_FB_H_ */