mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
group_cpus_evenly() has become a generic function which can be used for other subsystems than the interrupt subsystem, so move it into lib/. Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Link: https://lore.kernel.org/r/[email protected]
15 lines
310 B
C
15 lines
310 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2016 Thomas Gleixner.
|
|
* Copyright (C) 2016-2017 Christoph Hellwig.
|
|
*/
|
|
|
|
#ifndef __LINUX_GROUP_CPUS_H
|
|
#define __LINUX_GROUP_CPUS_H
|
|
#include <linux/kernel.h>
|
|
#include <linux/cpu.h>
|
|
|
|
struct cpumask *group_cpus_evenly(unsigned int numgrps);
|
|
|
|
#endif
|