diff options
| author | Zongmin Zhou <zhouzongmin@kylinos.cn> | 2026-10-05 19:02:37 -0600 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-10-05 19:02:37 -0600 |
| commit | edba6017c19f97ecc718fad6b50e0908392247ac (patch) | |
| tree | 8c8f3acde989162e769e97a294d1e954d72d658a /scripts | |
| parent | a90ee4305c4a5df72c11b31dacfdc76e00fcf78a (diff) | |
| download | linux-next-edba6017c19f97ecc718fad6b50e0908392247ac.tar.gz linux-next-edba6017c19f97ecc718fad6b50e0908392247ac.zip | |
riscv: hwprobe: use _BITULL() rather than BIT() in MIPS vendor uapi header
BIT() is a kernel-internal macro that is not available to userspace, but
the MIPS vendor extension uapi header uses it without defining or
including it. Any userspace program that includes this header and uses
RISCV_HWPROBE_VENDOR_EXT_XMIPSEXECTL fails to build.
Use _BITULL(0) from linux/const.h instead, which keeps the value at 1,
so there is no ABI change.
Fixes: bb4b0f8a1bcb ("riscv: hwprobe: Add MIPS vendor extension probing")
Cc: stable@vger.kernel.org
Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn>
Reviewed-by: Jesse Taube <jtaubepe@redhat.com>
Link: https://patch.msgid.link/20260918073650.42586-1-min_halo@163.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
