hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/arch/sh/include/asm/cacheflush.h
....@@ -2,8 +2,6 @@
22 #ifndef __ASM_SH_CACHEFLUSH_H
33 #define __ASM_SH_CACHEFLUSH_H
44
5
-#ifdef __KERNEL__
6
-
75 #include <linux/mm.h>
86
97 /*
....@@ -46,6 +44,7 @@
4644 #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
4745 extern void flush_dcache_page(struct page *page);
4846 extern void flush_icache_range(unsigned long start, unsigned long end);
47
+#define flush_icache_user_range flush_icache_range
4948 extern void flush_icache_page(struct vm_area_struct *vma,
5049 struct page *page);
5150 extern void flush_cache_sigtramp(unsigned long address);
....@@ -108,5 +107,4 @@
108107 return vaddr;
109108 }
110109
111
-#endif /* __KERNEL__ */
112110 #endif /* __ASM_SH_CACHEFLUSH_H */