Use CACHE_LINE_SIZE alignment for 'struct pcpu' rather than hardcoding 128.
Reviewed by: jeff
This commit is contained in:
parent
9de5aff5b4
commit
e80b904382
@ -165,7 +165,7 @@ struct pcpu {
|
||||
* if only to make kernel debugging easier.
|
||||
*/
|
||||
PCPU_MD_FIELDS;
|
||||
} __aligned(128);
|
||||
} __aligned(CACHE_LINE_SIZE);
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user