aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-03-21 12:01:02 +0100
committerRussell King (Oracle) <[email protected]>2023-04-11 11:07:08 +0100
commitdae904d96ad6a5fa79bd9d99a3decf93685d398b (patch)
treead23ef12e2f542d51e76bb4cf489f40b69f90d91 /lib/test_fortify/write_overflow-strcpy.c
parent197b6b60ae7bc51dd0814953c562833143b292aa (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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions