diff options
Diffstat (limited to 'arch/arm/kernel/entry-common.S')
-rw-r--r-- | arch/arm/kernel/entry-common.S | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index ee63ee78d84f..59ce1bcec42b 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S | |||
@@ -288,3 +288,35 @@ sys_mmap2: | |||
288 | str r5, [sp, #4] | 288 | str r5, [sp, #4] |
289 | b do_mmap2 | 289 | b do_mmap2 |
290 | #endif | 290 | #endif |
291 | |||
292 | #ifdef CONFIG_OABI_COMPAT | ||
293 | /* | ||
294 | * These are syscalls with argument register differences | ||
295 | */ | ||
296 | |||
297 | sys_oabi_pread64: | ||
298 | stmia sp, {r3, r4} | ||
299 | b sys_pread64 | ||
300 | |||
301 | sys_oabi_pwrite64: | ||
302 | stmia sp, {r3, r4} | ||
303 | b sys_pwrite64 | ||
304 | |||
305 | sys_oabi_truncate64: | ||
306 | mov r3, r2 | ||
307 | mov r2, r1 | ||
308 | b sys_truncate64 | ||
309 | |||
310 | sys_oabi_ftruncate64: | ||
311 | mov r3, r2 | ||
312 | mov r2, r1 | ||
313 | b sys_ftruncate64 | ||
314 | |||
315 | sys_oabi_readahead: | ||
316 | str r3, [sp] | ||
317 | mov r3, r2 | ||
318 | mov r2, r1 | ||
319 | b sys_readahead | ||
320 | |||
321 | #endif | ||
322 | |||