1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _ASM_X86_POSIX_TYPES_32_H
3#define _ASM_X86_POSIX_TYPES_32_H
4
5/*
6 * This file is generally used by user-level software, so you need to
7 * be a little careful about namespace pollution etc. Also, we cannot
8 * assume GCC is being used.
9 */
10
11typedef unsigned short __kernel_mode_t;
12#define __kernel_mode_t __kernel_mode_t
13
14typedef unsigned short __kernel_ipc_pid_t;
15#define __kernel_ipc_pid_t __kernel_ipc_pid_t
16
17typedef unsigned short __kernel_uid_t;
18typedef unsigned short __kernel_gid_t;
19#define __kernel_uid_t __kernel_uid_t
20
21typedef unsigned short __kernel_old_dev_t;
22#define __kernel_old_dev_t __kernel_old_dev_t
23
24#include <asm-generic/posix_types.h>
25
26#endif /* _ASM_X86_POSIX_TYPES_32_H */
27