Index: kernel/arch/sparc64/include/mm/cache.h
===================================================================
--- kernel/arch/sparc64/include/mm/cache.h	(revision df4ed852a2d1b242f9bdce0a873009a2cb77cec7)
+++ kernel/arch/sparc64/include/mm/cache.h	(revision 726e1043bcec8878ef81123f08f4dd7dc7d8e58f)
@@ -36,5 +36,15 @@
 #define KERN_sparc64_CACHE_H_
 
+#include <mm/page.h>
+#include <mm/frame.h>
+
+#define dcache_flush_page(p) \
+	dcache_flush_color(PAGE_COLOR((p)))
+#define dcache_flush_frame(p, f) \
+	dcache_flush_tag(PAGE_COLOR((p)), ADDR2PFN((f)));
+
 extern void dcache_flush(void);
+extern void dcache_flush_color(int c);
+extern void dcache_flush_tag(int c, pfn_t tag);
 
 #endif
