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

(cherry picked from commit 6c0bcd15e4782ff2e23119a37396d693d09c695d)

Details

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