diff options
author | Radim Krčmář <rkrcmar@ventanamicro.com> | 2025-08-12 11:02:56 +0200 |
---|---|---|
committer | Paul Walmsley <pjw@kernel.org> | 2025-09-05 15:31:20 -0600 |
commit | 8a16586fa7b8a01360890d284896b90c217dca44 (patch) | |
tree | 47dd31eb6a5547969777c10021c98744beacac4d /scripts/kernel-doc.py | |
parent | ad5348c765914766a98ad26cf7a8c28d51a16bdd (diff) |
riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id
emit_ld 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: 2ddec2c80b44 ("riscv, bpf: inline bpf_get_smp_processor_id()")
Cc: stable@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@ventanamicro.com>
Reviewed-by: Pu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/r/20250812090256.757273-4-rkrcmar@ventanamicro.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions