ar71xx: disable CONFIG_{I2C,SPI}_GPIO
[openwrt.git] / toolchain / uClibc / patches-0.9.32 / 160-mips_signalfd_sfd_nonblock.patch
1 From f87898ca4a7d4b7171779c06ff1f4848efeee431 Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Thu, 30 Jun 2011 07:32:11 +0000
4 Subject: mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly
5
6 Exposed by udev 171 which uses signalfd
7
8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 ---
10 diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h
11 index 8cee17c..f1cb63a 100644
12 --- a/include/sys/signalfd.h
13 +++ b/include/sys/signalfd.h
14 @@ -64,6 +64,15 @@ enum
15 # define SFD_NONBLOCK SFD_NONBLOCK
16 };
17
18 +#elif defined __mips__
19 +enum
20 + {
21 + SFD_CLOEXEC = 02000000,
22 +# define SFD_CLOEXEC SFD_CLOEXEC
23 + SFD_NONBLOCK = 0200
24 +# define SFD_NONBLOCK SFD_NONBLOCK
25 + };
26 +
27 #else
28 enum
29 {
30 --
31 cgit v0.9.0.1-2-gef13
32
This page took 0.054517 seconds and 5 git commands to generate.