]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390: switch stop_machine_yield() to using cpumask_next_wrap()
authorYury Norov <yury.norov@gmail.com>
Tue, 28 Jan 2025 16:46:38 +0000 (11:46 -0500)
committerYury Norov <yury.norov@gmail.com>
Mon, 24 Feb 2025 21:37:23 +0000 (16:37 -0500)
commit0cad4092858767cb54b5ec9be5b3fc39756abd46
treedf1ce3b71b0fab2c6a775faea510b9a0a4e814b2
parentf954a2d37637b09aed55a4bae769720788633a20
s390: switch stop_machine_yield() to using cpumask_next_wrap()

Calling cpumask_next_wrap_old() with starting CPU equal to wrapping CPU
effectively means the request to find next CPU, wrapping around if needed.

cpumask_next_wrap() is the proper replacement for that.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
arch/s390/kernel/processor.c