summaryrefslogtreecommitdiff
path: root/include/asm-sparc64/cacheflush.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-04 06:06:19 +0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-04 06:06:19 +0400
commit3c8c7b2f32c52b259daa7564fefd582146799b23 (patch)
tree59ff1ad0d6b7821d474d8fccafd884703684b6d7 /include/asm-sparc64/cacheflush.h
parent7cb3cd090c2725b80561958a362c2ba15a7a8c86 (diff)
parent9123e0d78990246304fe681167b8d8097f1e02d7 (diff)
downloadlinux-3c8c7b2f32c52b259daa7564fefd582146799b23.tar.xz
Merge branch 'upstream-fixes'
Diffstat (limited to 'include/asm-sparc64/cacheflush.h')
-rw-r--r--include/asm-sparc64/cacheflush.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sparc64/cacheflush.h b/include/asm-sparc64/cacheflush.h
index ededd2659eab..b3f61659ba81 100644
--- a/include/asm-sparc64/cacheflush.h
+++ b/include/asm-sparc64/cacheflush.h
@@ -66,6 +66,11 @@ extern void flush_ptrace_access(struct vm_area_struct *, struct page *,
#define flush_cache_vmap(start, end) do { } while (0)
#define flush_cache_vunmap(start, end) do { } while (0)
+#ifdef CONFIG_DEBUG_PAGEALLOC
+/* internal debugging function */
+void kernel_map_pages(struct page *page, int numpages, int enable);
+#endif
+
#endif /* !__ASSEMBLY__ */
#endif /* _SPARC64_CACHEFLUSH_H */