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

(cherry picked from commit ede6c6c0434a266a1712ffe807f4e31e229948df)

Details

Provenance
sebastian.huber_embedded-brains.deAuthored on Jul 19 2022, 6:09 PM
emasteCommitted on Sep 25 2023, 1:49 PM
Parents
rG08f02c751b34: Remove "All Rights Reserved" from Foundation copyrights
Branches
Unknown
Tags
Unknown