Commit a08e37f3 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

fcntl: Use consistent values for F_[GS]ETOWN_EX

These values were only introduced during this release cycle, so it is
still early enough to get them right.

alpha uses the same values that are in asm-generic/fcntl.h, so just
remove them.

parisc uses the values interchanged for no apparent reason, so remove
them to give us consistency across all architectures.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a9366e61
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#define F_GETOWN 6 /* for sockets. */ #define F_GETOWN 6 /* for sockets. */
#define F_SETSIG 10 /* for sockets. */ #define F_SETSIG 10 /* for sockets. */
#define F_GETSIG 11 /* for sockets. */ #define F_GETSIG 11 /* for sockets. */
#define F_SETOWN_EX 15
#define F_GETOWN_EX 16
/* for posix fcntl() and lockf() */ /* for posix fcntl() and lockf() */
#define F_RDLCK 1 #define F_RDLCK 1
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#define F_SETOWN 12 /* for sockets. */ #define F_SETOWN 12 /* for sockets. */
#define F_SETSIG 13 /* for sockets. */ #define F_SETSIG 13 /* for sockets. */
#define F_GETSIG 14 /* for sockets. */ #define F_GETSIG 14 /* for sockets. */
#define F_GETOWN_EX 15
#define F_SETOWN_EX 16
/* for posix fcntl() and lockf() */ /* for posix fcntl() and lockf() */
#define F_RDLCK 01 #define F_RDLCK 01
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment