bury __kernel_nlink_t, make internal nlink_t consistent
[linux-3.10.git] / arch / avr32 / include / asm / posix_types.h
1 /*
2  * Copyright (C) 2004-2006 Atmel Corporation
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 #ifndef __ASM_AVR32_POSIX_TYPES_H
9 #define __ASM_AVR32_POSIX_TYPES_H
10
11 /*
12  * This file is generally used by user-level software, so you need to
13  * be a little careful about namespace pollution etc.  Also, we cannot
14  * assume GCC is being used.
15  */
16
17 typedef unsigned short  __kernel_mode_t;
18 #define __kernel_mode_t __kernel_mode_t
19
20 typedef unsigned short  __kernel_ipc_pid_t;
21 #define __kernel_ipc_pid_t __kernel_ipc_pid_t
22
23 typedef unsigned long   __kernel_size_t;
24 typedef long            __kernel_ssize_t;
25 typedef int             __kernel_ptrdiff_t;
26 #define __kernel_size_t __kernel_size_t
27
28 typedef unsigned short  __kernel_old_uid_t;
29 typedef unsigned short  __kernel_old_gid_t;
30 #define __kernel_old_uid_t __kernel_old_uid_t
31
32 typedef unsigned short  __kernel_old_dev_t;
33 #define __kernel_old_dev_t __kernel_old_dev_t
34
35 #include <asm-generic/posix_types.h>
36
37 #endif /* __ASM_AVR32_POSIX_TYPES_H */