nolibc: fix fd_set type
authorSven Schnelle <svens@linux.ibm.com>
Mon, 9 Jan 2023 07:54:37 +0000 (08:54 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 9 Jan 2023 17:36:05 +0000 (09:36 -0800)
commitfeaf75658783a919410f8c2039dbc24b6a29603d
tree1cdf5c077f5cfa8af83841447f0f714945429ba1
parent1b929c02afd37871d5afb9d498426f83432e71c2
nolibc: fix fd_set type

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>
tools/include/nolibc/types.h