]>
git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/xtensa/include/uapi/asm/posix_types.h
2 * include/asm-xtensa/posix_types.h
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
8 * Largely copied from include/asm-ppc/posix_types.h
10 * Copyright (C) 2001 - 2005 Tensilica Inc.
13 #ifndef _XTENSA_POSIX_TYPES_H
14 #define _XTENSA_POSIX_TYPES_H
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.
22 typedef unsigned short __kernel_ipc_pid_t
;
23 #define __kernel_ipc_pid_t __kernel_ipc_pid_t
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
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
34 typedef unsigned short __kernel_old_dev_t
;
35 #define __kernel_old_dev_t __kernel_old_dev_t
37 #include <asm-generic/posix_types.h>
39 #endif /* _XTENSA_POSIX_TYPES_H */