]> err.no Git - linux-2.6/blobdiff - include/asm-arm/cacheflush.h
[PATCH] Consolidate the asm-ppc*/fcntl.h files into asm-powerpc
[linux-2.6] / include / asm-arm / cacheflush.h
index 09ffeed507c2098a980b1f7eb65e5369d0598907..035cdcff43d233e8566e5ed0ce3e6b04514be4d9 100644 (file)
@@ -16,6 +16,9 @@
 
 #include <asm/mman.h>
 #include <asm/glue.h>
+#include <asm/shmparam.h>
+
+#define CACHE_COLOUR(vaddr)    ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT)
 
 /*
  *     Cache Model