[PATCH v4 4/9] um: export signals_enabled directly
Johannes Berg
johannes at sipsolutions.net
Thu Jun 17 12:31:30 PDT 2021
On Thu, 2021-06-17 at 21:21 +0200, Richard Weinberger wrote:
> On Fri, Mar 5, 2021 at 1:20 PM Johannes Berg <johannes at sipsolutions.net> wrote:
> > +#define UML_SETJMP(buf) ({ \
> > + int n, enable; \
> > + enable = *(volatile int *)&signals_enabled; \
>
> Isn't this a case for READ_ONCE()?
I guess, but it's in shared code, so must compile without kernel-space
headers.
johannes
More information about the linux-um
mailing list