From 21a8b350dc7ca2485c627342a0cfab0791b1cd45 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 20 Apr 2009 12:59:23 +0000 Subject: Don't conditionally define CACHE_LINE_SHIFT, as we anticipate sizing a fair number of static data structures, making this an unlikely option to try to change without also changing source code. [1] Change default cache line size on ia64, sparc64, and sun4v to 128 bytes, as this was what rtld-elf was already using on those platforms. [2] Suggested by: bde [1], jhb [2] MFC after: 2 weeks --- sys/ia64/include/param.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/ia64/include/param.h') diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h index 4130ec4..f59c408 100644 --- a/sys/ia64/include/param.h +++ b/sys/ia64/include/param.h @@ -103,9 +103,7 @@ * CACHE_LINE_SIZE is the compile-time maximum cache line size for an * architecture. It should be used with appropriate caution. */ -#ifndef CACHE_LINE_SHIFT -#define CACHE_LINE_SHIFT 6 -#endif +#define CACHE_LINE_SHIFT 7 #define CACHE_LINE_SIZE (1 << CACHE_LINE_SHIFT) #ifndef LOG2_PAGE_SIZE -- cgit v1.1