diff options
| author | Radim Krčmář <[email protected]> | 2025-07-25 16:54:10 +0000 |
|---|---|---|
| committer | Paul Walmsley <[email protected]> | 2025-09-05 21:31:24 +0000 |
| commit | f4ea67a722e8c9e1fb8109adebb9fb881ff0793a (patch) | |
| tree | fc3bad6179de95dee416f591434154ed0b3c7d96 /lib/xarray.c | |
| parent | riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id (diff) | |
| download | kernel-f4ea67a722e8c9e1fb8109adebb9fb881ff0793a.tar.gz kernel-f4ea67a722e8c9e1fb8109adebb9fb881ff0793a.zip | |
riscv: use lw when reading int cpu in asm_per_cpu
REG_L is wrong, because thread_info.cpu is 32-bit, not xlen-bit wide.
The struct currently has a hole after cpu, so little endian accesses
seemed fine.
Fixes: be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe")
Cc: [email protected]
Reviewed-by: Alexandre Ghiti <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
