6 static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
7 unsigned long vm_start, unsigned long vm_end,
10 return pgprot_noncached(prot);
12 #define pgprot_framebuffer pgprot_framebuffer
15 * MIPS doesn't define __raw_ I/O macros, so the helpers
16 * in <asm-generic/fb.h> don't generate fb_readq() and
17 * fb_write(). We have to provide them here.
19 * TODO: Convert MIPS to generic I/O. The helpers below can
23 static inline u64 fb_readq(const volatile void __iomem *addr)
25 return __raw_readq(addr);
27 #define fb_readq fb_readq
29 static inline void fb_writeq(u64 b, volatile void __iomem *addr)
31 __raw_writeq(b, addr);
33 #define fb_writeq fb_writeq
36 #include <asm-generic/fb.h>
38 #endif /* _ASM_FB_H_ */