um: Compile with modern headers
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 14 Dec 2017 02:23:37 +0000 (03:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:34:13 +0000 (09:34 +0200)
commit8280752089fb63d8c8043878a2bb68ba6854a54b
treeae817bae51711da157aa66ba48da6947af4f1b4f
parent1c72e231eb06499e376842defa03e1e295d63ba0
um: Compile with modern headers

commit 530ba6c7cb3c22435a4d26de47037bb6f86a5329 upstream.

Recent libcs have gotten a bit more strict, so we actually need to
include the right headers and use the right types. This enables UML to
compile again.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: stable@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/um/os-Linux/file.c
arch/um/os-Linux/signal.c
arch/x86/um/stub_segv.c