diff options
Diffstat (limited to 'include/asm-sh/cache.h')
-rw-r--r-- | include/asm-sh/cache.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/include/asm-sh/cache.h b/include/asm-sh/cache.h index f9113e77b..17108905d 100644 --- a/include/asm-sh/cache.h +++ b/include/asm-sh/cache.h @@ -1,5 +1,7 @@ -/* +/* $Id: cache.h,v 1.3 1999/12/11 12:31:51 gniibe Exp $ + * * include/asm-sh/cache.h + * * Copyright 1999 (C) Niibe Yutaka */ #ifndef __ASM_SH_CACHE_H @@ -12,18 +14,6 @@ #define L1_CACHE_BYTES 32 #endif -#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) - -#define SMP_CACHE_BYTES L1_CACHE_BYTES - -#ifdef MODULE -#define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES))) -#else -#define __cacheline_aligned \ - __attribute__((__aligned__(L1_CACHE_BYTES), \ - __section__(".data.cacheline_aligned"))) -#endif - extern void cache_flush_area(unsigned long start, unsigned long end); extern void cache_purge_area(unsigned long start, unsigned long end); extern void cache_wback_area(unsigned long start, unsigned long end); |