patch-2.3.50 linux/include/asm-sh/cache.h

Next file: linux/include/asm-sh/div64.h
Previous file: linux/include/asm-ppc/types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/include/asm-sh/cache.h linux/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
@@ -10,18 +12,6 @@
 #define        L1_CACHE_BYTES  16
 #elif defined(__SH4__)
 #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);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)