Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[linux/fpc-iii.git] / arch / sh / include / asm / uncached.h
blobe3419f96626ad49719130f120bcb71bcbdb40c42
1 #ifndef __ASM_SH_UNCACHED_H
2 #define __ASM_SH_UNCACHED_H
4 #include <linux/bug.h>
6 #ifdef CONFIG_UNCACHED_MAPPING
7 extern unsigned long uncached_start, uncached_end;
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
18 #endif /* __ASM_SH_UNCACHED_H */