summaryrefslogtreecommitdiff
path: root/epoll2.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2019-05-09 09:22:22 +0200
committerTobias Klauser <tklauser@distanz.ch>2019-05-09 09:22:22 +0200
commitc5b1ed4446f1da55f474c3eb5196825b19a08a05 (patch)
treed1cae82e0548f09e5b794a323f5b34812c9ba2b5 /epoll2.h
parent663c2e9d3263dfde688fc201bf19dec01a13adaf (diff)
netsniff-ng v0.6.6v0.6.6
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'epoll2.h')
0 files changed, 0 insertions, 0 deletions
div class='commit-subject'>parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'include/uapi/asm-generic/unistd.h')