]>
Commit | Line | Data |
---|---|---|
17b1dc07 | 1 | #ifndef _ASM_POWERPC_POSIX_TYPES_H |
2 | #define _ASM_POWERPC_POSIX_TYPES_H | |
1da177e4 LT |
3 | |
4 | /* | |
5 | * This file is generally used by user-level software, so you need to | |
6 | * be a little careful about namespace pollution etc. Also, we cannot | |
7 | * assume GCC is being used. | |
1da177e4 LT |
8 | */ |
9 | ||
17b1dc07 | 10 | #ifdef __powerpc64__ |
1da177e4 | 11 | typedef unsigned long __kernel_old_dev_t; |
fae89ee8 | 12 | #define __kernel_old_dev_t __kernel_old_dev_t |
17b1dc07 | 13 | #else |
17b1dc07 | 14 | typedef unsigned int __kernel_size_t; |
15 | typedef int __kernel_ssize_t; | |
fae89ee8 PA |
16 | typedef long __kernel_ptrdiff_t; |
17 | #define __kernel_size_t __kernel_size_t | |
1da177e4 | 18 | |
fae89ee8 PA |
19 | typedef short __kernel_ipc_pid_t; |
20 | #define __kernel_ipc_pid_t __kernel_ipc_pid_t | |
21 | #endif | |
1da177e4 | 22 | |
fae89ee8 | 23 | #include <asm-generic/posix_types.h> |
1da177e4 | 24 | |
17b1dc07 | 25 | #endif /* _ASM_POWERPC_POSIX_TYPES_H */ |