#ifndef __ASM_GENERIC_COMPAT_H
#define __ASM_GENERIC_COMPAT_H
#ifndef COMPAT_USER_HZ
#define COMPAT_USER_HZ …
#endif
#ifndef COMPAT_RLIM_INFINITY
#define COMPAT_RLIM_INFINITY …
#endif
#ifndef COMPAT_OFF_T_MAX
#define COMPAT_OFF_T_MAX …
#endif
#ifndef compat_arg_u64
#ifndef CONFIG_CPU_BIG_ENDIAN
#define compat_arg_u64(name) …
#define compat_arg_u64_dual(name) …
#else
#define compat_arg_u64 …
#define compat_arg_u64_dual …
#endif
#define compat_arg_u64_glue(name) …
#endif
compat_size_t;
compat_ssize_t;
compat_clock_t;
compat_pid_t;
compat_ino_t;
compat_off_t;
compat_loff_t;
compat_daddr_t;
compat_timer_t;
compat_key_t;
compat_short_t;
compat_int_t;
compat_long_t;
compat_ushort_t;
compat_uint_t;
compat_ulong_t;
compat_uptr_t;
compat_caddr_t;
compat_aio_context_t;
compat_old_sigset_t;
#ifndef __compat_uid_t
typedef u32 __compat_uid_t;
typedef u32 __compat_gid_t;
#endif
#ifndef __compat_uid32_t
__compat_uid32_t;
__compat_gid32_t;
#endif
#ifndef compat_mode_t
typedef u32 compat_mode_t;
#endif
#ifdef CONFIG_COMPAT_FOR_U64_ALIGNMENT
compat_s64;
compat_u64;
#else
typedef s64 compat_s64;
typedef u64 compat_u64;
#endif
#ifndef _COMPAT_NSIG
compat_sigset_word;
#define _COMPAT_NSIG …
#define _COMPAT_NSIG_BPW …
#endif
#ifndef compat_dev_t
typedef u32 compat_dev_t;
#endif
#ifndef compat_ipc_pid_t
typedef s32 compat_ipc_pid_t;
#endif
#ifndef compat_fsid_t
compat_fsid_t;
#endif
#ifndef compat_statfs
struct compat_statfs {
compat_int_t f_type;
compat_int_t f_bsize;
compat_int_t f_blocks;
compat_int_t f_bfree;
compat_int_t f_bavail;
compat_int_t f_files;
compat_int_t f_ffree;
compat_fsid_t f_fsid;
compat_int_t f_namelen;
compat_int_t f_frsize;
compat_int_t f_flags;
compat_int_t f_spare[4];
};
#endif
#ifndef compat_ipc64_perm
struct compat_ipc64_perm { … };
struct compat_semid64_ds { … };
struct compat_msqid64_ds { … };
struct compat_shmid64_ds { … };
#endif
#endif