__read_only in the kernel
Mateusz Guzik
mjguzik at gmail.com
Mon Nov 28 07:24:00 UTC 2016
On Mon, Nov 28, 2016 at 08:20:21AM +0100, Hans Petter Selasky wrote:
> On 11/27/16 22:25, Mateusz Guzik wrote:
> >+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
>
> You might needs to patch the linuxkpi /sys/compat/linuxkpi/ too,
> which also defines this macro.
>
Oh, indeed:
sys/dev/drm2/drm_os_freebsd.h:#define __read_mostly
Thanks,
--
Mateusz Guzik <mjguzik gmail.com>
More information about the freebsd-arch
mailing list