diff options
author | Lucian Adrian Grijincu <lucian.grijincu@gmail.com> | 2010-10-06 15:03:47 -0700 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2010-10-09 21:51:43 +0200 |
commit | 269b8fd5d058f2c0da01a42b20315ffc2640d99b (patch) | |
tree | 1e6917acf6bac76d9c351528fd020c07e27ed408 /include/asm-generic/fcntl.h | |
parent | c6691126636769bd22bfd7b55829f0373a93c1ce (diff) |
asm-generic: fcntl: make exported headers use strict posix types
All 'pid_t' were changed to '__kernel_pid_t' in a previous commit:
make exported headers use strict posix types
A number of standard posix types are used in exported headers,
which is not allowed if __STRICT_KERNEL_NAMES is defined. In order
to get rid of the non-__STRICT_KERNEL_NAMES part and to make sane
headers the default, we have to change them all to safe types.
but a later change introduced 'pid_t' again:
fcntl: add F_[SG]ETOWN_EX
This makes asm-generic/fcntl.h d use strict posix types again.
Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic/fcntl.h')
-rw-r--r-- | include/asm-generic/fcntl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index a70b2d2bfc14..0fc16e3f0bfc 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h @@ -122,7 +122,7 @@ struct f_owner_ex { int type; - pid_t pid; + __kernel_pid_t pid; }; /* for F_[GET|SET]FL */ |