]>
Commit | Line | Data |
---|---|---|
5f97f7f9 HS |
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 | ||
5f97f7f9 | 17 | typedef unsigned short __kernel_mode_t; |
09675048 PA |
18 | #define __kernel_mode_t __kernel_mode_t |
19 | ||
5f97f7f9 | 20 | typedef unsigned short __kernel_ipc_pid_t; |
09675048 PA |
21 | #define __kernel_ipc_pid_t __kernel_ipc_pid_t |
22 | ||
5f97f7f9 | 23 | typedef unsigned long __kernel_size_t; |
a3b0277d | 24 | typedef long __kernel_ssize_t; |
5f97f7f9 | 25 | typedef int __kernel_ptrdiff_t; |
09675048 | 26 | #define __kernel_size_t __kernel_size_t |
5f97f7f9 HS |
27 | |
28 | typedef unsigned short __kernel_old_uid_t; | |
29 | typedef unsigned short __kernel_old_gid_t; | |
09675048 | 30 | #define __kernel_old_uid_t __kernel_old_uid_t |
5f97f7f9 | 31 | |
09675048 PA |
32 | typedef unsigned short __kernel_old_dev_t; |
33 | #define __kernel_old_dev_t __kernel_old_dev_t | |
5f97f7f9 | 34 | |
09675048 | 35 | #include <asm-generic/posix_types.h> |
5f97f7f9 HS |
36 | |
37 | #endif /* __ASM_AVR32_POSIX_TYPES_H */ |