diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-20 11:31:09 +0100 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-20 11:31:09 +0100 |
commit | b8a9b66fbee09d0cc71c272b5c1d1f3320afbbf0 (patch) | |
tree | 25be8fc2ef91f6dcbb7f7dd2b9e3db2a95963477 /include/asm-arm/cacheflush.h | |
parent | 8830f04a092b47f3d246271b24685cd9eab82027 (diff) | |
download | kernel-crypto-b8a9b66fbee09d0cc71c272b5c1d1f3320afbbf0.tar.gz kernel-crypto-b8a9b66fbee09d0cc71c272b5c1d1f3320afbbf0.tar.xz kernel-crypto-b8a9b66fbee09d0cc71c272b5c1d1f3320afbbf0.zip |
[PATCH] ARM: Add common CACHE_COLOUR macro
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/cacheflush.h')
-rw-r--r-- | include/asm-arm/cacheflush.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index 09ffeed507c..035cdcff43d 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h @@ -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 |