diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/linux32.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 013bc93688e8..f33e779796f0 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c | |||
@@ -1159,22 +1159,9 @@ out: | |||
1159 | 1159 | ||
1160 | /* Handle adjtimex compatibility. */ | 1160 | /* Handle adjtimex compatibility. */ |
1161 | 1161 | ||
1162 | struct timex32 { | ||
1163 | u32 modes; | ||
1164 | s32 offset, freq, maxerror, esterror; | ||
1165 | s32 status, constant, precision, tolerance; | ||
1166 | struct compat_timeval time; | ||
1167 | s32 tick; | ||
1168 | s32 ppsfreq, jitter, shift, stabil; | ||
1169 | s32 jitcnt, calcnt, errcnt, stbcnt; | ||
1170 | s32 :32; s32 :32; s32 :32; s32 :32; | ||
1171 | s32 :32; s32 :32; s32 :32; s32 :32; | ||
1172 | s32 :32; s32 :32; s32 :32; s32 :32; | ||
1173 | }; | ||
1174 | |||
1175 | extern int do_adjtimex(struct timex *); | 1162 | extern int do_adjtimex(struct timex *); |
1176 | 1163 | ||
1177 | asmlinkage int sys32_adjtimex(struct timex32 __user *utp) | 1164 | asmlinkage int sys32_adjtimex(struct compat_timex __user *utp) |
1178 | { | 1165 | { |
1179 | struct timex txc; | 1166 | struct timex txc; |
1180 | int ret; | 1167 | int ret; |