entry-common.S (ad34ea2cc3845ef4dcd7d12fb0fa8484734bd672) | entry-common.S (68d9102f76de7a923fb81c8b6de4764f8f50ed17) |
---|---|
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. --- 251 unchanged lines hidden (view full) --- 260sys_sigaltstack_wrapper: 261 ldr r2, [sp, #S_OFF + S_SP] 262 b do_sigaltstack 263 264sys_futex_wrapper: 265 str r5, [sp, #4] @ push sixth arg 266 b sys_futex 267 | 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. --- 251 unchanged lines hidden (view full) --- 260sys_sigaltstack_wrapper: 261 ldr r2, [sp, #S_OFF + S_SP] 262 b do_sigaltstack 263 264sys_futex_wrapper: 265 str r5, [sp, #4] @ push sixth arg 266 b sys_futex 267 |
268sys_arm_fadvise64_64_wrapper: 269 str r5, [sp, #4] @ push r5 to stack 270 b sys_arm_fadvise64_64 271 |
|
268/* 269 * Note: off_4k (r5) is always units of 4K. If we can't do the requested 270 * offset, we return EINVAL. 271 */ 272sys_mmap2: 273#if PAGE_SHIFT > 12 274 tst r5, #PGOFF_MASK 275 moveq r5, r5, lsr #PAGE_SHIFT - 12 276 streq r5, [sp, #4] 277 beq do_mmap2 278 mov r0, #-EINVAL 279 RETINSTR(mov,pc, lr) 280#else 281 str r5, [sp, #4] 282 b do_mmap2 283#endif | 272/* 273 * Note: off_4k (r5) is always units of 4K. If we can't do the requested 274 * offset, we return EINVAL. 275 */ 276sys_mmap2: 277#if PAGE_SHIFT > 12 278 tst r5, #PGOFF_MASK 279 moveq r5, r5, lsr #PAGE_SHIFT - 12 280 streq r5, [sp, #4] 281 beq do_mmap2 282 mov r0, #-EINVAL 283 RETINSTR(mov,pc, lr) 284#else 285 str r5, [sp, #4] 286 b do_mmap2 287#endif |