nolibc: fix fd_set type
authorSven Schnelle <svens@linux.ibm.com>
Mon, 9 Jan 2023 07:54:37 +0000 (08:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:30 +0000 (08:34 +0100)
commit99dd3449279bcc15a69af734f7609bfce1ff1e1c
tree0f485fb5c010cdd4c6dc43300e75f40a5b03b222
parent0333c339781ff6466c34b21a68774b680cc1ab1d
nolibc: fix fd_set type

[ Upstream commit feaf75658783a919410f8c2039dbc24b6a29603d ]

The kernel uses unsigned long for the fd_set bitmap,
but nolibc use u32. This works fine on little endian
machines, but fails on big endian. Convert to unsigned
long to fix this.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/include/nolibc/types.h