Files
twx-linux/lib
Jiri Olsa a0019cd7d4 lib/sort: Add priv pointer to swap function
Adding support to have priv pointer in swap callback function.

Following the initial change on cmp callback functions [1]
and adding SWAP_WRAPPER macro to identify sort call of sort_r.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/bpf/20220316122419.933957-2-jolsa@kernel.org

[1] 4333fb96ca ("media: lib/sort.c: implement sort() variant taking context argument")
2022-03-17 20:17:18 -07:00
..
2021-11-18 13:16:22 -08:00
2022-01-15 08:47:31 -08:00
2022-01-20 08:52:53 +02:00
2022-03-17 20:17:14 -07:00
2022-01-20 08:52:54 +02:00
2022-01-08 00:28:41 -05:00