diff options
Diffstat (limited to 'include/asm-sparc64/cacheflush.h')
| -rw-r--r-- | include/asm-sparc64/cacheflush.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/asm-sparc64/cacheflush.h b/include/asm-sparc64/cacheflush.h index 51b26e81d828..b3f61659ba81 100644 --- a/include/asm-sparc64/cacheflush.h +++ b/include/asm-sparc64/cacheflush.h | |||
| @@ -4,13 +4,6 @@ | |||
| 4 | #include <linux/config.h> | 4 | #include <linux/config.h> |
| 5 | #include <asm/page.h> | 5 | #include <asm/page.h> |
| 6 | 6 | ||
| 7 | /* Flushing for D-cache alias handling is only needed if | ||
| 8 | * the page size is smaller than 16K. | ||
| 9 | */ | ||
| 10 | #if PAGE_SHIFT < 14 | ||
| 11 | #define DCACHE_ALIASING_POSSIBLE | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #ifndef __ASSEMBLY__ | 7 | #ifndef __ASSEMBLY__ |
| 15 | 8 | ||
| 16 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
| @@ -73,6 +66,11 @@ extern void flush_ptrace_access(struct vm_area_struct *, struct page *, | |||
| 73 | #define flush_cache_vmap(start, end) do { } while (0) | 66 | #define flush_cache_vmap(start, end) do { } while (0) |
| 74 | #define flush_cache_vunmap(start, end) do { } while (0) | 67 | #define flush_cache_vunmap(start, end) do { } while (0) |
| 75 | 68 | ||
| 69 | #ifdef CONFIG_DEBUG_PAGEALLOC | ||
| 70 | /* internal debugging function */ | ||
| 71 | void kernel_map_pages(struct page *page, int numpages, int enable); | ||
| 72 | #endif | ||
| 73 | |||
| 76 | #endif /* !__ASSEMBLY__ */ | 74 | #endif /* !__ASSEMBLY__ */ |
| 77 | 75 | ||
| 78 | #endif /* _SPARC64_CACHEFLUSH_H */ | 76 | #endif /* _SPARC64_CACHEFLUSH_H */ |
