diff options
| author | Dawei Li <dawei.li@shingroup.cn> | 2024-04-16 11:54:48 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2024-04-24 22:23:49 +0300 |
| commit | cdc66553c4130735f0a2db943a5259e54ff1597a (patch) | |
| tree | ec3ebe0bd50ede88a8dc482b80aacb2412a25e4b /lib/devmem_is_allowed.c | |
| parent | c7cad38d37486668a448215fc92bace9c8cf747a (diff) | |
| download | linux-cdc66553c4130735f0a2db943a5259e54ff1597a.tar.xz | |
cpumask: Introduce cpumask_first_and_and()
Introduce cpumask_first_and_and() to get intersection between 3 cpumasks,
free of any intermediate cpumask variable. Instead, cpumask_first_and_and()
works in-place with all inputs and produces desired output directly.
Signed-off-by: Dawei Li <dawei.li@shingroup.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Yury Norov <yury.norov@gmail.com>
Link: https://lore.kernel.org/r/20240416085454.3547175-2-dawei.li@shingroup.cn
Diffstat (limited to 'lib/devmem_is_allowed.c')
0 files changed, 0 insertions, 0 deletions
