md/raid10: decrement correct pending counter when writing to replacement.
[sfrench/cifs-2.6.git] / arch / xtensa / include / uapi / asm / posix_types.h
1 /*
2  * include/asm-xtensa/posix_types.h
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License.  See the file "COPYING" in the main directory of this archive
6  * for more details.
7  *
8  * Largely copied from include/asm-ppc/posix_types.h
9  *
10  * Copyright (C) 2001 - 2005 Tensilica Inc.
11  */
12
13 #ifndef _XTENSA_POSIX_TYPES_H
14 #define _XTENSA_POSIX_TYPES_H
15
16 /*
17  * This file is generally used by user-level software, so you need to
18  * be a little careful about namespace pollution etc.  Also, we cannot
19  * assume GCC is being used.
20  */
21
22 typedef unsigned short  __kernel_ipc_pid_t;
23 #define __kernel_ipc_pid_t __kernel_ipc_pid_t
24
25 typedef unsigned int    __kernel_size_t;
26 typedef int             __kernel_ssize_t;
27 typedef long            __kernel_ptrdiff_t;
28 #define __kernel_size_t __kernel_size_t
29
30 typedef unsigned short  __kernel_old_uid_t;
31 typedef unsigned short  __kernel_old_gid_t;
32 #define __kernel_old_uid_t __kernel_old_uid_t
33
34 typedef unsigned short  __kernel_old_dev_t;
35 #define __kernel_old_dev_t __kernel_old_dev_t
36
37 #include <asm-generic/posix_types.h>
38
39 #endif /* _XTENSA_POSIX_TYPES_H */