| .. | .. |
|---|
| 2 | 2 | #ifndef __ASM_SH_CACHEFLUSH_H |
|---|
| 3 | 3 | #define __ASM_SH_CACHEFLUSH_H |
|---|
| 4 | 4 | |
|---|
| 5 | | -#ifdef __KERNEL__ |
|---|
| 6 | | - |
|---|
| 7 | 5 | #include <linux/mm.h> |
|---|
| 8 | 6 | |
|---|
| 9 | 7 | /* |
|---|
| .. | .. |
|---|
| 46 | 44 | #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1 |
|---|
| 47 | 45 | extern void flush_dcache_page(struct page *page); |
|---|
| 48 | 46 | extern void flush_icache_range(unsigned long start, unsigned long end); |
|---|
| 47 | +#define flush_icache_user_range flush_icache_range |
|---|
| 49 | 48 | extern void flush_icache_page(struct vm_area_struct *vma, |
|---|
| 50 | 49 | struct page *page); |
|---|
| 51 | 50 | extern void flush_cache_sigtramp(unsigned long address); |
|---|
| .. | .. |
|---|
| 108 | 107 | return vaddr; |
|---|
| 109 | 108 | } |
|---|
| 110 | 109 | |
|---|
| 111 | | -#endif /* __KERNEL__ */ |
|---|
| 112 | 110 | #endif /* __ASM_SH_CACHEFLUSH_H */ |
|---|