aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2022-01-24 23:32:51 +0100
committerArd Biesheuvel <[email protected]>2022-01-31 16:06:35 +0100
commit4d5a643e738c6b6ccc1a05f6938643c3f08df29b (patch)
treeb30eec64ce43003e10bb7409cec7a23ec4ca1313 /net/lapb/lapb_subr.c
parent57a420435edcb0b947a74171bf49ada7a5892d4f (diff)
ARM: make get_current() and __my_cpu_offset() __always_inline
The get_current() and __my_cpu_offset() accessors evaluate to only a single instruction emitted inline, but due to the size of the asm string that is created for SMP+v6 configurations, the compiler assumes otherwise, and may emit the functions out of line instead. So use __always_inline to avoid this. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions