patch-2.1.38 linux/include/asm-sparc/cache.h
Next file: linux/include/asm-sparc/current.h
Previous file: linux/include/asm-sparc/bitops.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed May 14 15:01:21 1997
- Orig file:
v2.1.37/linux/include/asm-sparc/cache.h
- Orig date:
Mon Dec 30 01:59:59 1996
diff -u --recursive --new-file v2.1.37/linux/include/asm-sparc/cache.h linux/include/asm-sparc/cache.h
@@ -1,4 +1,4 @@
-/* $Id: cache.h,v 1.6 1996/12/28 19:55:12 davem Exp $
+/* $Id: cache.h,v 1.7 1997/05/06 09:31:46 davem Exp $
* cache.h: Cache specific code for the Sparc. These include flushing
* and direct tag/data line access.
*
@@ -11,6 +11,7 @@
#include <asm/asi.h>
#define L1_CACHE_BYTES 32
+#define L1_CACHE_ALIGN(x) ((((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)))
/* Direct access to the instruction cache is provided through and
* alternate address space. The IDC bit must be off in the ICCR on
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov