summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-20 12:59:23 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-20 12:59:23 +0000
commit21a8b350dc7ca2485c627342a0cfab0791b1cd45 (patch)
treef5c7486cc0c69aef8fc84d1f077627857e581db9 /sys/sparc64/include
parenta780a09a2b78068eb257ee0108e556be3c191053 (diff)
downloadFreeBSD-src-21a8b350dc7ca2485c627342a0cfab0791b1cd45.zip
FreeBSD-src-21a8b350dc7ca2485c627342a0cfab0791b1cd45.tar.gz
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
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/param.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h
index b909971..f09a6cd 100644
--- a/sys/sparc64/include/param.h
+++ b/sys/sparc64/include/param.h
@@ -75,9 +75,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)
#define PAGE_SHIFT_8K 13
OpenPOWER on IntegriCloud