Use CACHE_LINE_SIZE alignment for 'struct pcpu' rather than hardcoding 128.

Reviewed by:	jeff
This commit is contained in:
John Baldwin 2010-03-30 19:41:38 +00:00
parent 9de5aff5b4
commit e80b904382

View File

@ -165,7 +165,7 @@ struct pcpu {
* if only to make kernel debugging easier.
*/
PCPU_MD_FIELDS;
} __aligned(128);
} __aligned(CACHE_LINE_SIZE);
#ifdef _KERNEL