Skip to content

Commit

Permalink
fcntl: Use consistent values for F_[GS]ETOWN_EX
Browse files Browse the repository at this point in the history
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: Stephen Rothwell <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
sfrothwell authored and torvalds committed Nov 17, 2009
1 parent a9366e6 commit a08e37f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/alpha/include/asm/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#define F_GETOWN 6 /* for sockets. */
#define F_SETSIG 10 /* for sockets. */
#define F_GETSIG 11 /* for sockets. */
#define F_SETOWN_EX 15
#define F_GETOWN_EX 16

/* for posix fcntl() and lockf() */
#define F_RDLCK 1
Expand Down
2 changes: 0 additions & 2 deletions arch/parisc/include/asm/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#define F_SETOWN 12 /* for sockets. */
#define F_SETSIG 13 /* for sockets. */
#define F_GETSIG 14 /* for sockets. */
#define F_GETOWN_EX 15
#define F_SETOWN_EX 16

/* for posix fcntl() and lockf() */
#define F_RDLCK 01
Expand Down

0 comments on commit a08e37f

Please sign in to comment.