diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-12-02 07:57:35 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-01-23 21:31:16 +1100 |
commit | bfc2eae0ad72a43d2a270acce2581c065223aa12 (patch) | |
tree | 677e0b5114829a54c4d65612e7ed99b91b266f7f /arch/powerpc/kernel/vdso32/datapage.S | |
parent | e33ffc956b086675551b86f5f83cf50ca47aa71c (diff) | |
download | lwn-bfc2eae0ad72a43d2a270acce2581c065223aa12.tar.gz lwn-bfc2eae0ad72a43d2a270acce2581c065223aa12.zip |
powerpc/vdso32: miscellaneous optimisations
Various optimisations by inverting branches and removing
redundant instructions.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b4e79f963845545bcce1459cd6fcfe46bdde7863.1575273217.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc/kernel/vdso32/datapage.S')
-rw-r--r-- | arch/powerpc/kernel/vdso32/datapage.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/vdso32/datapage.S b/arch/powerpc/kernel/vdso32/datapage.S index 1095d818f94a..217bb630f8f9 100644 --- a/arch/powerpc/kernel/vdso32/datapage.S +++ b/arch/powerpc/kernel/vdso32/datapage.S @@ -30,11 +30,10 @@ V_FUNCTION_BEGIN(__kernel_get_syscall_map) .cfi_startproc mflr r12 .cfi_register lr,r12 - mr r4,r3 + mr. r4,r3 get_datapage r3, r0 mtlr r12 addi r3,r3,CFG_SYSCALL_MAP32 - cmpli cr0,r4,0 beqlr li r0,NR_syscalls stw r0,0(r4) |