OSDN Git Service

cpumask: align signatures of UP implementations
authorSander Vanheule <sander@svanheule.net>
Tue, 9 Aug 2022 17:36:33 +0000 (19:36 +0200)
committerYury Norov <yury.norov@gmail.com>
Mon, 15 Aug 2022 18:00:44 +0000 (11:00 -0700)
commitbe599244865cb788abe2c6f59ccb05d7240448e4
treeb064910c767c69d96e8bfeeea2927af7ccee4f98
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
cpumask: align signatures of UP implementations

Between the generic version, and their uniprocessor optimised
implementations, the return types of cpumask_any_and_distribute() and
cpumask_any_distribute() are not identical.  Change the UP versions to
'unsigned int', to match the generic versions.

Suggested-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/cpumask.h