entry-common.S (713c481519f19df9e6d90f257e7da0336b057592) entry-common.S (687ad0191488a067b3b3cc94f670cc21f93811e1)
1/*
2 * linux/arch/arm/kernel/entry-common.S
3 *
4 * Copyright (C) 2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 274 unchanged lines hidden (view full) ---

283 streq r5, [sp, #4]
284 beq do_mmap2
285 mov r0, #-EINVAL
286 RETINSTR(mov,pc, lr)
287#else
288 str r5, [sp, #4]
289 b do_mmap2
290#endif
1/*
2 * linux/arch/arm/kernel/entry-common.S
3 *
4 * Copyright (C) 2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 274 unchanged lines hidden (view full) ---

283 streq r5, [sp, #4]
284 beq do_mmap2
285 mov r0, #-EINVAL
286 RETINSTR(mov,pc, lr)
287#else
288 str r5, [sp, #4]
289 b do_mmap2
290#endif
291
292#ifdef CONFIG_OABI_COMPAT
293/*
294 * These are syscalls with argument register differences
295 */
296
297sys_oabi_pread64:
298 stmia sp, {r3, r4}
299 b sys_pread64
300
301sys_oabi_pwrite64:
302 stmia sp, {r3, r4}
303 b sys_pwrite64
304
305sys_oabi_truncate64:
306 mov r3, r2
307 mov r2, r1
308 b sys_truncate64
309
310sys_oabi_ftruncate64:
311 mov r3, r2
312 mov r2, r1
313 b sys_ftruncate64
314
315sys_oabi_readahead:
316 str r3, [sp]
317 mov r3, r2
318 mov r2, r1
319 b sys_readahead
320
321#endif
322