HomeFreeBSD

LinuxKPI: cache.h add SMP_CACHE_BYTES

Description

LinuxKPI: cache.h add SMP_CACHE_BYTES

Add a definition for SMP_CACHE_BYTES and while here include sys/param.h
for CACHE_LINE_SIZE as otherwise code might not compile standalone.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30419

(cherry picked from commit e21652c13c7c161efac7fd0b247c73914312212a)

Details

Provenance
bzAuthored on May 24 2021, 5:56 PM
Reviewer
hselasky
Differential Revision
D30419: LinuxKPI: cache.h add SMP_CACHE_BYTES
Parents
rGaa8745df01f6: LinuxKPI: compiler.h add three more defines
Branches
Unknown
Tags
Unknown