.. | .. |
---|
54 | 54 | pid_t pr_ppid; |
---|
55 | 55 | pid_t pr_pgrp; |
---|
56 | 56 | pid_t pr_sid; |
---|
57 | | - struct compat_timeval pr_utime; /* User time */ |
---|
58 | | - struct compat_timeval pr_stime; /* System time */ |
---|
59 | | - struct compat_timeval pr_cutime;/* Cumulative user time */ |
---|
60 | | - struct compat_timeval pr_cstime;/* Cumulative system time */ |
---|
| 57 | + struct old_timeval32 pr_utime; /* User time */ |
---|
| 58 | + struct old_timeval32 pr_stime; /* System time */ |
---|
| 59 | + struct old_timeval32 pr_cutime;/* Cumulative user time */ |
---|
| 60 | + struct old_timeval32 pr_cstime;/* Cumulative system time */ |
---|
61 | 61 | elf_gregset_t pr_reg; /* GP registers */ |
---|
62 | 62 | int pr_fpvalid; /* True if math co-processor being used. */ |
---|
63 | 63 | }; |
---|
.. | .. |
---|
81 | 81 | #define elf_caddr_t u32 |
---|
82 | 82 | #define init_elf_binfmt init_elfn32_binfmt |
---|
83 | 83 | |
---|
84 | | -#define jiffies_to_timeval jiffies_to_compat_timeval |
---|
| 84 | +#define jiffies_to_timeval jiffies_to_old_timeval32 |
---|
85 | 85 | static __inline__ void |
---|
86 | | -jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value) |
---|
| 86 | +jiffies_to_old_timeval32(unsigned long jiffies, struct old_timeval32 *value) |
---|
87 | 87 | { |
---|
88 | 88 | /* |
---|
89 | 89 | * Convert jiffies to nanoseconds and separate with |
---|
.. | .. |
---|
100 | 100 | #undef TASK_SIZE |
---|
101 | 101 | #define TASK_SIZE TASK_SIZE32 |
---|
102 | 102 | |
---|
103 | | -#undef ns_to_timeval |
---|
104 | | -#define ns_to_timeval ns_to_compat_timeval |
---|
| 103 | +#undef ns_to_kernel_old_timeval |
---|
| 104 | +#define ns_to_kernel_old_timeval ns_to_old_timeval32 |
---|
| 105 | + |
---|
| 106 | +/* |
---|
| 107 | + * Some data types as stored in coredump. |
---|
| 108 | + */ |
---|
| 109 | +#define user_long_t compat_long_t |
---|
| 110 | +#define user_siginfo_t compat_siginfo_t |
---|
| 111 | +#define copy_siginfo_to_external copy_siginfo_to_external32 |
---|
105 | 112 | |
---|
106 | 113 | #include "../../../fs/binfmt_elf.c" |
---|