1 /* SPDX-License-Identifier: GPL-2.0 */
8 static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
9 unsigned long vm_start, unsigned long vm_end,
14 pgprot_val(prot) |= SUN3_PAGE_NOCACHE;
16 if (CPU_IS_020_OR_030)
17 pgprot_val(prot) |= _PAGE_NOCACHE030;
18 if (CPU_IS_040_OR_060) {
19 pgprot_val(prot) &= _CACHEMASK040;
20 /* Use no-cache mode, serialized */
21 pgprot_val(prot) |= _PAGE_NOCACHE_S;
23 #endif /* CONFIG_SUN3 */
24 #endif /* CONFIG_MMU */
28 #define pgprot_framebuffer pgprot_framebuffer
30 #include <asm-generic/fb.h>
32 #endif /* _ASM_FB_H_ */