diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-21 12:47:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-06-03 09:53:57 +0200 |
commit | de8739b2d2d8b2409750dcea6cfbdc1542421cbf (patch) | |
tree | 398be64a6fb8d68c6d21fce1819e1b10837033f8 /arch/x86 | |
parent | e4f60ca7156910755ebc90aed3b9c964703f5ce9 (diff) | |
download | barebox-de8739b2d2d8b2409750dcea6cfbdc1542421cbf.tar.gz barebox-de8739b2d2d8b2409750dcea6cfbdc1542421cbf.tar.xz |
x86: use generic posix_types.h
Use generic asm-generic/posix_types.h instead of repeating the
typedefs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/posix_types.h | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/arch/x86/include/asm/posix_types.h b/arch/x86/include/asm/posix_types.h index 066f159cc9..22cae6230c 100644 --- a/arch/x86/include/asm/posix_types.h +++ b/arch/x86/include/asm/posix_types.h @@ -1,44 +1 @@ -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * - */ - -/** - * @file - * @brief x86 posix types - * - * Minimal set to make all the other header files copied from the Linux kernel happy - */ - -#ifndef _ASM_X86_POSIX_TYPES_H -#define _ASM_X86_POSIX_TYPES_H - -typedef unsigned long __kernel_ino_t; -typedef unsigned short __kernel_mode_t; -typedef unsigned short __kernel_nlink_t; -typedef long __kernel_off_t; -typedef int __kernel_pid_t; -typedef unsigned int __kernel_size_t; -typedef int __kernel_ssize_t; -typedef int __kernel_ptrdiff_t; -typedef long __kernel_time_t; -typedef long __kernel_suseconds_t; -typedef long __kernel_clock_t; -typedef int __kernel_daddr_t; -typedef char * __kernel_caddr_t; -typedef unsigned short __kernel_uid16_t; -typedef unsigned short __kernel_gid16_t; -typedef unsigned int __kernel_uid32_t; -typedef unsigned int __kernel_gid32_t; -typedef long long __kernel_loff_t; - -#endif /* _ASM_X86_POSIX_TYPES_H */ +#include <asm-generic/posix_types.h> |