HomeFreeBSD

linuxkpi: Add `rol32()`

Description

linuxkpi: Add rol32()

rol64() and rol32() are used by <linux/siphash.h>. The former was
added previously, before <linux/siphash.h> was added. However the latter
was not, and it broke the build on armv7.

Reported by: adrian
Reviewed by: adrian, rpokala
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54588

Details

Provenance
dumbbellAuthored on Jan 7 2026, 9:18 PM
Reviewer
adrian
Differential Revision
D54588: linuxkpi: Add `rol32()`
Parents
rG10c6f1f627cd: linuxkpi: Replicate the chain of #include in the `cec*.h` headers
Branches
Unknown
Tags
Unknown