summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2003-01-02 19:05:52 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2003-01-02 19:05:52 -0800
commitc8e9f940049e7b389a9539626cfa952f41ae38b6 (patch)
tree1558147bda54771e93f6038ff045384c39efb7a9 /include
parent8baa2cda484f360d96b186c36719dc0707b357ab (diff)
[PATCH] compat_flock: ppc64
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/compat.h9
-rw-r--r--include/asm-ppc64/ppc32.h9
2 files changed, 9 insertions, 9 deletions
diff --git a/include/asm-ppc64/compat.h b/include/asm-ppc64/compat.h
index 8ad44c0e53d4..a32b56af16b5 100644
--- a/include/asm-ppc64/compat.h
+++ b/include/asm-ppc64/compat.h
@@ -55,4 +55,13 @@ struct compat_stat {
u32 __unused4[2];
};
+struct compat_flock {
+ short l_type;
+ short l_whence;
+ compat_off_t l_start;
+ compat_off_t l_len;
+ compat_pid_t l_pid;
+ short __unused;
+};
+
#endif /* _ASM_PPC64_COMPAT_H */
diff --git a/include/asm-ppc64/ppc32.h b/include/asm-ppc64/ppc32.h
index 5b7a8dc91bda..019ae718e38b 100644
--- a/include/asm-ppc64/ppc32.h
+++ b/include/asm-ppc64/ppc32.h
@@ -141,15 +141,6 @@ typedef struct sigaltstack_32 {
compat_size_t ss_size;
} stack_32_t;
-struct flock32 {
- short l_type;
- short l_whence;
- compat_off_t l_start;
- compat_off_t l_len;
- compat_pid_t l_pid;
- short __unused;
-};
-
struct sigcontext32 {
unsigned int _unused[4];
int signal;