]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/cache.h
[AF_PACKET]: Add option to return orig_dev to userspace.
[linux-2.6-omap-h63xx.git] / include / asm-sh / cache.h
index 33f13367054b89198d06b5d377c913b9fdfee61d..9a3cb6ba9d156622d0738be6fd18ba224de9cf4c 100644 (file)
@@ -10,7 +10,6 @@
 #ifdef __KERNEL__
 
 #include <asm/cpu/cache.h>
-#include <asm/cpu/cacheflush.h>
 
 #define SH_CACHE_VALID         1
 #define SH_CACHE_UPDATED       2
@@ -22,6 +21,7 @@
 
 #define L1_CACHE_ALIGN(x)      (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
 
+#ifndef __ASSEMBLY__
 struct cache_info {
        unsigned int ways;              /* Number of cache ways */
        unsigned int sets;              /* Number of cache sets */
@@ -48,13 +48,6 @@ struct cache_info {
 
        unsigned long flags;
 };
-
-/* Flush (write-back only) a region (smaller than a page) */
-extern void __flush_wback_region(void *start, int size);
-/* Flush (write-back & invalidate) a region (smaller than a page) */
-extern void __flush_purge_region(void *start, int size);
-/* Flush (invalidate only) a region (smaller than a page) */
-extern void __flush_invalidate_region(void *start, int size);
-
+#endif /* __ASSEMBLY__ */
 #endif /* __KERNEL__ */
 #endif /* __ASM_SH_CACHE_H */