PageRenderTime 30ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/powerpc/include/asm/posix_types.h

https://github.com/aicjofs/android_kernel_lge_v500_20d
C Header | 28 lines | 17 code | 6 blank | 5 comment | 0 complexity | 81d5fda02ef1043dbfa8b03d4a72d85f MD5 | raw file
 1#ifndef _ASM_POWERPC_POSIX_TYPES_H
 2#define _ASM_POWERPC_POSIX_TYPES_H
 3
 4/*
 5 * This file is generally used by user-level software, so you need to
 6 * be a little careful about namespace pollution etc.  Also, we cannot
 7 * assume GCC is being used.
 8 */
 9
10#ifdef __powerpc64__
11typedef unsigned long	__kernel_old_dev_t;
12#define __kernel_old_dev_t __kernel_old_dev_t
13#else
14typedef unsigned int	__kernel_size_t;
15typedef int		__kernel_ssize_t;
16typedef long		__kernel_ptrdiff_t;
17#define __kernel_size_t __kernel_size_t
18
19typedef unsigned short	__kernel_nlink_t;
20#define __kernel_nlink_t __kernel_nlink_t
21
22typedef short		__kernel_ipc_pid_t;
23#define __kernel_ipc_pid_t __kernel_ipc_pid_t
24#endif
25
26#include <asm-generic/posix_types.h>
27
28#endif /* _ASM_POWERPC_POSIX_TYPES_H */