OpenCloudOS-Kernel/drivers/soc/fsl/qbman
Yury Norov 9b51d9d866 cpumask: replace cpumask_next_* with cpumask_first_* where appropriate
cpumask_first() is a more effective analogue of 'next' version if n == -1
(which means start == 0). This patch replaces 'next' with 'first' where
things look trivial.

There's no cpumask_first_zero() function, so create it.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2022-01-15 08:47:31 -08:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ARM: SoC driver updates for v4.15 2017-11-16 16:05:01 -08:00
bman.c soc: fsl: qbman: Delete useless kfree code 2021-04-06 15:17:53 -05:00
bman_ccsr.c soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_portal.c cpumask: replace cpumask_next_* with cpumask_first_* where appropriate 2022-01-15 08:47:31 -08:00
bman_priv.h soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_test.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test.h soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test_api.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
dpaa_sys.c soc/fsl/qbman: Update device tree with reserved memory 2019-08-15 16:42:00 -05:00
dpaa_sys.h soc: fsl: qbman: Check if CPU is offline when initializing portals 2018-10-05 14:01:46 -05:00
qman.c soc/fsl: qbman: fix conflicting alignment attributes 2021-04-01 16:32:37 +02:00
qman_ccsr.c soc/fsl/qbman: Disable interrupts during portal recovery 2019-08-15 16:41:53 -05:00
qman_portal.c cpumask: replace cpumask_next_* with cpumask_first_* where appropriate 2022-01-15 08:47:31 -08:00
qman_priv.h soc/fsl/qbman: Disable interrupts during portal recovery 2019-08-15 16:41:53 -05:00
qman_test.c soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
qman_test.h soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations 2017-09-22 13:33:07 -05:00
qman_test_api.c soc/fsl/qbman: Add an argument to signal if NAPI processing is required. 2020-11-03 17:41:03 -08:00
qman_test_stash.c soc/fsl/qbman: Add an argument to signal if NAPI processing is required. 2020-11-03 17:41:03 -08:00