|
@@ -1921,7 +1921,7 @@ static void remove_tasks_in_empty_cpuset(struct cpuset *cs)
|
|
* that has tasks along with an empty 'mems'. But if we did see such
|
|
* that has tasks along with an empty 'mems'. But if we did see such
|
|
* a cpuset, we'd handle it just like we do if its 'cpus' was empty.
|
|
* a cpuset, we'd handle it just like we do if its 'cpus' was empty.
|
|
*/
|
|
*/
|
|
-static void scan_for_empty_cpusets(const struct cpuset *root)
|
|
|
|
|
|
+static void scan_for_empty_cpusets(struct cpuset *root)
|
|
{
|
|
{
|
|
LIST_HEAD(queue);
|
|
LIST_HEAD(queue);
|
|
struct cpuset *cp; /* scans cpusets being updated */
|
|
struct cpuset *cp; /* scans cpusets being updated */
|