HomeFreeBSD

buf.h: Fix declaration of unmapped_buf

Description

buf.h: Fix declaration of unmapped_buf

For architectures with a small-data area, the __read_mostly section must
present at the object declaration.

(emaste note: This does not appear to have an affect within FreeBSD, but
may be needed by downstream projects that handle read_mostly /
section(".data.read_mostly") differently.)

Pull Request: https://github.com/freebsd/freebsd-src/pull/608

Details

Provenance
sebastian.huber_embedded-brains.deAuthored on Jul 19 2022, 6:09 PM
emasteCommitted on Aug 16 2022, 7:39 PM
Parents
rG01f11ee1c543: sdp: garbage collect sdp_ctlinput
Branches
Unknown
Tags
Unknown
Reverted By
D40946: Add DEBUG_POISON_POINTER