diff options
author | jhb <jhb@FreeBSD.org> | 2010-03-30 19:41:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-03-30 19:41:38 +0000 |
commit | b097b243cacad02029f84a26b4b428d60b09e64a (patch) | |
tree | 58a11803df7c380d217e994518591358b2d37f22 /sys/sys/pcpu.h | |
parent | 6244a53a85ffc2f56f41323d2488022695d9f5d9 (diff) | |
download | FreeBSD-src-b097b243cacad02029f84a26b4b428d60b09e64a.zip FreeBSD-src-b097b243cacad02029f84a26b4b428d60b09e64a.tar.gz |
Use CACHE_LINE_SIZE alignment for 'struct pcpu' rather than hardcoding 128.
Reviewed by: jeff
Diffstat (limited to 'sys/sys/pcpu.h')
-rw-r--r-- | sys/sys/pcpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index b5d3d77..30fbb14 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -165,7 +165,7 @@ struct pcpu { * if only to make kernel debugging easier. */ PCPU_MD_FIELDS; -} __aligned(128); +} __aligned(CACHE_LINE_SIZE); #ifdef _KERNEL |