summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-19 21:26:36 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-19 21:26:36 +0000
commitab17fac487a2edc11c9643eaab1c3c4e1dd5589b (patch)
treee3980f5305201bf6d9d964102f24c655738fbb51 /sys/sparc64/include
parente215ab3b02bae1355e92de58c118eb0032066bf1 (diff)
downloadFreeBSD-src-ab17fac487a2edc11c9643eaab1c3c4e1dd5589b.zip
FreeBSD-src-ab17fac487a2edc11c9643eaab1c3c4e1dd5589b.tar.gz
Add description and cautionary note regarding CACHE_LINE_SIZE.
MFC after: 2 weeks Suggested by: alc
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/param.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h
index e8f783f..b909971 100644
--- a/sys/sparc64/include/param.h
+++ b/sys/sparc64/include/param.h
@@ -71,6 +71,10 @@
#define ALIGNBYTES _ALIGNBYTES
#define ALIGN(p) _ALIGN(p)
+/*
+ * 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
OpenPOWER on IntegriCloud