]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/signalfd.h
kbuild: fix cc-option and cc-option-yn
[linux-2.6-omap-h63xx.git] / include / linux / signalfd.h
index 86f9b1ef0e0934c9a354b44a67ab396be61ccbe4..bef0c46d4713cb82a041907fe62b21c71175d930 100644 (file)
@@ -8,6 +8,12 @@
 #ifndef _LINUX_SIGNALFD_H
 #define _LINUX_SIGNALFD_H
 
+/* For O_CLOEXEC and O_NONBLOCK */
+#include <linux/fcntl.h>
+
+/* Flags for signalfd4.  */
+#define SFD_CLOEXEC O_CLOEXEC
+#define SFD_NONBLOCK O_NONBLOCK
 
 struct signalfd_siginfo {
        __u32 ssi_signo;
@@ -29,7 +35,7 @@ struct signalfd_siginfo {
 
        /*
         * Pad strcture to 128 bytes. Remember to update the
-        * pad size when you add new memebers. We use a fixed
+        * pad size when you add new members. We use a fixed
         * size structure to avoid compatibility problems with
         * future versions, and we leave extra space for additional
         * members. We use fixed size members because this strcture