1 #ifndef __ASM_SH_UNCACHED_H 2 #define __ASM_SH_UNCACHED_H 3 4 #include <linux/bug.h> 5 6 #ifdef CONFIG_UNCACHED_MAPPING 7 extern unsigned long uncached_start, uncached_end; 8 9 extern int virt_addr_uncached(unsigned long kaddr); 10 extern void uncached_init(void); 11 extern void uncached_resize(unsigned long size); 12 #else 13 #define virt_addr_uncached(kaddr) (0) 14 #define uncached_init() do { } while (0) 15 #define uncached_resize(size) BUG() 16 #endif 17 18 #endif /* __ASM_SH_UNCACHED_H */ 19