diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/asm/fcntl.h | 2 | ||||
-rw-r--r-- | arch/parisc/include/asm/fcntl.h | 2 | ||||
-rw-r--r-- | arch/sparc/include/asm/fcntl.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/fcntl.h b/arch/alpha/include/asm/fcntl.h index 70145cbb21cb..1b71ca70c9f6 100644 --- a/arch/alpha/include/asm/fcntl.h +++ b/arch/alpha/include/asm/fcntl.h | |||
@@ -31,6 +31,8 @@ | |||
31 | #define __O_SYNC 020000000 | 31 | #define __O_SYNC 020000000 |
32 | #define O_SYNC (__O_SYNC|O_DSYNC) | 32 | #define O_SYNC (__O_SYNC|O_DSYNC) |
33 | 33 | ||
34 | #define O_PATH 040000000 | ||
35 | |||
34 | #define F_GETLK 7 | 36 | #define F_GETLK 7 |
35 | #define F_SETLK 8 | 37 | #define F_SETLK 8 |
36 | #define F_SETLKW 9 | 38 | #define F_SETLKW 9 |
diff --git a/arch/parisc/include/asm/fcntl.h b/arch/parisc/include/asm/fcntl.h index f357fc693c89..0304b92ccfea 100644 --- a/arch/parisc/include/asm/fcntl.h +++ b/arch/parisc/include/asm/fcntl.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #define O_NOFOLLOW 000000200 /* don't follow links */ | 19 | #define O_NOFOLLOW 000000200 /* don't follow links */ |
20 | #define O_INVISIBLE 004000000 /* invisible I/O, for DMAPI/XDSM */ | 20 | #define O_INVISIBLE 004000000 /* invisible I/O, for DMAPI/XDSM */ |
21 | 21 | ||
22 | #define O_PATH 020000000 | ||
23 | |||
22 | #define F_GETLK64 8 | 24 | #define F_GETLK64 8 |
23 | #define F_SETLK64 9 | 25 | #define F_SETLK64 9 |
24 | #define F_SETLKW64 10 | 26 | #define F_SETLKW64 10 |
diff --git a/arch/sparc/include/asm/fcntl.h b/arch/sparc/include/asm/fcntl.h index 38f37b333cc7..d0b83f66f356 100644 --- a/arch/sparc/include/asm/fcntl.h +++ b/arch/sparc/include/asm/fcntl.h | |||
@@ -34,6 +34,8 @@ | |||
34 | #define __O_SYNC 0x800000 | 34 | #define __O_SYNC 0x800000 |
35 | #define O_SYNC (__O_SYNC|O_DSYNC) | 35 | #define O_SYNC (__O_SYNC|O_DSYNC) |
36 | 36 | ||
37 | #define O_PATH 0x1000000 | ||
38 | |||
37 | #define F_GETOWN 5 /* for sockets. */ | 39 | #define F_GETOWN 5 /* for sockets. */ |
38 | #define F_SETOWN 6 /* for sockets. */ | 40 | #define F_SETOWN 6 /* for sockets. */ |
39 | #define F_GETLK 7 | 41 | #define F_GETLK 7 |