diff options
| author | Florian Schmaus <florian.schmaus@codasip.com> | 2026-06-07 05:17:53 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-07 05:17:53 +0300 |
| commit | 3e17a4b443bbaecc723a2d51faeaa1a0097e43e9 (patch) | |
| tree | 243200414b9f1ab107ecc3180ce2c84c364890b3 /include/linux | |
| parent | ecbf894165a2e86b0830eb82be49f861da2a9e0b (diff) | |
| download | linux-3e17a4b443bbaecc723a2d51faeaa1a0097e43e9.tar.xz | |
riscv: module: Use generic cmp_int() instead of custom cmp_3way()
The module-sections.c file defines a custom cmp_3way() macro to perform
3-way comparisons during relocation sorting.
Instead of maintaining our own implementation, use the generic
cmp_int() macro provided by the already included <linux/sort.h>. This
removes redundant code and relies on standard kernel interfaces.
Signed-off-by: Florian Schmaus <florian.schmaus@codasip.com>
Link: https://patch.msgid.link/20260512063231.708256-1-florian.schmaus@codasip.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
