Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* $Id: posix_types.h,v 1.1 2000/07/10 16:32:31 bjornw Exp $ */ |
| 2 | |
| 3 | /* We cheat a bit and use our C-coded bitops functions from asm/bitops.h */ |
| 4 | /* I guess we should write these in assembler because they are used often. */ |
| 5 | |
| 6 | #ifndef __ARCH_CRIS_POSIX_TYPES_H |
| 7 | #define __ARCH_CRIS_POSIX_TYPES_H |
| 8 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | /* |
| 10 | * This file is generally used by user-level software, so you need to |
| 11 | * be a little careful about namespace pollution etc. Also, we cannot |
| 12 | * assume GCC is being used. |
| 13 | */ |
| 14 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | typedef unsigned short __kernel_mode_t; |
H. Peter Anvin | 4d6232b | 2012-02-07 21:08:50 -0800 | [diff] [blame] | 16 | #define __kernel_mode_t __kernel_mode_t |
| 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | typedef unsigned short __kernel_ipc_pid_t; |
H. Peter Anvin | 4d6232b | 2012-02-07 21:08:50 -0800 | [diff] [blame] | 19 | #define __kernel_ipc_pid_t __kernel_ipc_pid_t |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | typedef unsigned short __kernel_uid_t; |
| 22 | typedef unsigned short __kernel_gid_t; |
H. Peter Anvin | 4d6232b | 2012-02-07 21:08:50 -0800 | [diff] [blame] | 23 | #define __kernel_uid_t __kernel_uid_t |
| 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | typedef unsigned short __kernel_old_dev_t; |
H. Peter Anvin | 4d6232b | 2012-02-07 21:08:50 -0800 | [diff] [blame] | 26 | #define __kernel_old_dev_t __kernel_old_dev_t |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | |
Jiri Slaby | 74f077d | 2012-04-02 13:40:17 +0200 | [diff] [blame] | 28 | #include <asm-generic/posix_types.h> |
| 29 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | #endif /* __ARCH_CRIS_POSIX_TYPES_H */ |