-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] Clean up struct flock64 definitions
This patch gathers all the struct flock64 definitions (and the operations), puts them under !CONFIG_64BIT and cleans up the arch files. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
- Loading branch information
Stephen Rothwell
authored and
Linus Torvalds
committed
Sep 7, 2005
1 parent
5ac353f
commit 8d286aa
Showing
18 changed files
with
30 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
#ifndef _CRIS_FCNTL_H | ||
#define _CRIS_FCNTL_H | ||
|
||
#define F_GETLK64 12 /* using 'struct flock64' */ | ||
#define F_SETLK64 13 | ||
#define F_SETLKW64 14 | ||
|
||
struct flock64 { | ||
short l_type; | ||
short l_whence; | ||
loff_t l_start; | ||
loff_t l_len; | ||
pid_t l_pid; | ||
}; | ||
|
||
#include <asm-generic/fcntl.h> | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1 @@ | ||
#ifndef _ASM_FCNTL_H | ||
#define _ASM_FCNTL_H | ||
|
||
#define F_GETLK64 12 /* using 'struct flock64' */ | ||
#define F_SETLK64 13 | ||
#define F_SETLKW64 14 | ||
|
||
struct flock64 { | ||
short l_type; | ||
short l_whence; | ||
loff_t l_start; | ||
loff_t l_len; | ||
pid_t l_pid; | ||
}; | ||
|
||
#include <asm-generic/fcntl.h> | ||
|
||
#endif /* _ASM_FCNTL_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
#ifndef _I386_FCNTL_H | ||
#define _I386_FCNTL_H | ||
|
||
#define F_GETLK64 12 /* using 'struct flock64' */ | ||
#define F_SETLK64 13 | ||
#define F_SETLKW64 14 | ||
|
||
struct flock64 { | ||
short l_type; | ||
short l_whence; | ||
loff_t l_start; | ||
loff_t l_len; | ||
pid_t l_pid; | ||
}; | ||
|
||
#include <asm-generic/fcntl.h> | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
#ifndef _ASM_M32R_FCNTL_H | ||
#define _ASM_M32R_FCNTL_H | ||
|
||
#define F_GETLK64 12 /* using 'struct flock64' */ | ||
#define F_SETLK64 13 | ||
#define F_SETLKW64 14 | ||
|
||
struct flock64 { | ||
short l_type; | ||
short l_whence; | ||
loff_t l_start; | ||
loff_t l_len; | ||
pid_t l_pid; | ||
}; | ||
|
||
#include <asm-generic/fcntl.h> | ||
|
||
#endif /* _ASM_M32R_FCNTL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1 @@ | ||
/* | ||
* include/asm-s390/fcntl.h | ||
* | ||
* S390 version | ||
* | ||
* Derived from "include/asm-i386/fcntl.h" | ||
*/ | ||
#ifndef _S390_FCNTL_H | ||
#define _S390_FCNTL_H | ||
|
||
#ifndef __s390x__ | ||
#define F_GETLK64 12 /* using 'struct flock64' */ | ||
#define F_SETLK64 13 | ||
#define F_SETLKW64 14 | ||
|
||
struct flock64 { | ||
short l_type; | ||
short l_whence; | ||
loff_t l_start; | ||
loff_t l_len; | ||
pid_t l_pid; | ||
}; | ||
#endif | ||
|
||
#include <asm-generic/fcntl.h> | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1 @@ | ||
#ifndef __ASM_SH_FCNTL_H | ||
#define __ASM_SH_FCNTL_H | ||
|
||
#define F_GETLK64 12 /* using 'struct flock64' */ | ||
#define F_SETLK64 13 | ||
#define F_SETLKW64 14 | ||
|
||
struct flock64 { | ||
short l_type; | ||
short l_whence; | ||
loff_t l_start; | ||
loff_t l_len; | ||
pid_t l_pid; | ||
}; | ||
|
||
#include <asm-generic/fcntl.h> | ||
|
||
#endif /* __ASM_SH_FCNTL_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
#ifndef __ASM_SH64_FCNTL_H | ||
#define __ASM_SH64_FCNTL_H | ||
|
||
#include <asm-sh/fcntl.h> | ||
|
||
#endif /* __ASM_SH64_FCNTL_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters