]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Add __ASSEMBLY__ guards around struct clone_args
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 17 Sep 2019 07:18:53 +0000 (09:18 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 30 Sep 2019 20:32:52 +0000 (22:32 +0200)
commitaa81e189f0f08dcdf0b4ec6ff1b25fa48c127658
tree7818d16df95dd778702b97e1e3d65a4bd6e96c33
parentf5c4776cd5b591eea4e9be9f421e34f61b98ebb2
sched: Add __ASSEMBLY__ guards around struct clone_args

The addition of struct clone_args to uapi/linux/sched.h is not protected
by __ASSEMBLY__ guards, causing a failure to build from source for glibc
on RISC-V. Add the guards to fix this.

Fixes: e48ce07c4ab9 ("fork: add clone3")
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Cc: <stable@vger.kernel.org>
Acked-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20190917071853.12385-1-seth.forshee@canonical.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
include/uapi/linux/sched.h