diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-03-21 12:01:02 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-04-11 11:07:08 +0100 |
commit | dae904d96ad6a5fa79bd9d99a3decf93685d398b (patch) | |
tree | ad23ef12e2f542d51e76bb4cf489f40b69f90d91 /arch/arm/include/asm/assembler.h | |
parent | 197b6b60ae7bc51dd0814953c562833143b292aa (diff) |
ARM: 9292/1: vfp: Pass thread_info pointer to vfp_support_entry
Instead of dereferencing thread_info in do_vfp, pass the thread_info
pointer to vfp_support_entry via R1. That way, we only use a single
caller save register, which makes it easier to convert do_vfp to C code
in a subsequent patch.
Note that, unlike the CPU number, which can change due to preemption,
passing the thread_info pointer can safely be done with preemption
enabled.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions