Date: Mon, 28 Nov 2016 08:23:54 +0100 From: Mateusz Guzik <mjguzik@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-arch@freebsd.org Subject: Re: __read_only in the kernel Message-ID: <20161128072354.GB23218@dft-labs.eu> In-Reply-To: <90f7f729-8bd6-c3d9-648d-1d4fce0ac82c@selasky.org> References: <20161127212503.GA23218@dft-labs.eu> <90f7f729-8bd6-c3d9-648d-1d4fce0ac82c@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161128072354.GB23218>