[PATCH v2 1/1] Revert "um: Use swap() to make code cleaner"

Andrew Morton akpm at linux-foundation.org
Mon Jul 24 09:26:55 PDT 2023


On Mon, 24 Jul 2023 17:31:31 +0300 Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:

> This reverts commit 9b0da3f22307af693be80f5d3a89dc4c7f360a85.
> 
> The sigio.c is clearly user space code which is handled by
> arch/um/scripts/Makefile.rules (see USER_OBJS rule).
> 
> The above mentioned commit simply broke this agreement,
> we may not use Linux kernel internal headers in them without
> thorough thinking.
> 
> Hence, revert the wrong commit.

As it fixes a build error I'll add cc:stable to this.



More information about the linux-um mailing list