diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-08 00:08:45 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-14 15:01:27 -0500 |
commit | b4255ba3fb9275f06daffce9f458668c8bd6773e (patch) | |
tree | d14df77e0a91dd7c0c229de142ccc78413a0957c /include | |
parent | d65b4e98d7ea3038b767b70fe8be959b2913f16d (diff) |
posix_types: Make __kernel_[ug]id32_t default to unsigned int
All ports use unsigned int for __kernel_[ug]id32_t, but not all ports
use unsigned int for __kernel_[ug]id_t. Thus, change the default for
the "32" types so ports don't need to override them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/1328677745-20121-2-git-send-email-hpa@zytor.com
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/posix_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-generic/posix_types.h b/include/asm-generic/posix_types.h index 3dab00860e71..ac83f6beb538 100644 --- a/include/asm-generic/posix_types.h +++ b/include/asm-generic/posix_types.h | |||
@@ -44,8 +44,8 @@ typedef int __kernel_daddr_t; | |||
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #ifndef __kernel_uid32_t | 46 | #ifndef __kernel_uid32_t |
47 | typedef __kernel_uid_t __kernel_uid32_t; | 47 | typedef unsigned int __kernel_uid32_t; |
48 | typedef __kernel_gid_t __kernel_gid32_t; | 48 | typedef unsigned int __kernel_gid32_t; |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #ifndef __kernel_old_uid_t | 51 | #ifndef __kernel_old_uid_t |