linux516: Fix Project C compilation (#495)
Fix build fail due to multiple definition of node_reclaim_distance.
part of: 30be4c4bc5
This commit is contained in:
@@ -9850,6 +9850,19 @@ index abcadbe933bb..d4c778b0ab0e 100644
|
||||
};
|
||||
struct wakeup_test_data *x = data;
|
||||
|
||||
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
|
||||
index e5a7a638f3fbe0f40f9b0be709ccbd02039d6d3b..163cec668095133a3f1d34df462cc7b8260504be 100644
|
||||
--- a/kernel/sched/topology.c
|
||||
+++ b/kernel/sched/topology.c
|
||||
@@ -2542,8 +2542,6 @@ void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
|
||||
{}
|
||||
|
||||
#ifdef CONFIG_NUMA
|
||||
-int __read_mostly node_reclaim_distance = RECLAIM_DISTANCE;
|
||||
-
|
||||
int sched_numa_find_closest(const struct cpumask *cpus, int cpu)
|
||||
{
|
||||
return best_mask_cpu(cpu, cpus);
|
||||
diff --git a/kernel/sched/alt_sched.h b/kernel/sched/alt_sched.h
|
||||
index f2b9e686d6a69c07f54c2cae36f7ce0ab70f9cb2..55c2a4c0cb845580c97e4adf07a34646f3929272 100644
|
||||
--- a/kernel/sched/alt_sched.h
|
||||
|
Reference in New Issue
Block a user