Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2aca46ce authored by Vincent Guittot's avatar Vincent Guittot Committed by James Hogan
Browse files

sched: remove unused SCHED_INIT_NODE



not used since new numa scheduler init sequence

[James Hogan: see commit cb83b629 (sched/numa: Rewrite the
CONFIG_NUMA sched domain support)]

Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
parent d3c7e511
Loading
Loading
Loading
Loading
+0 −27
Original line number Diff line number Diff line
@@ -3,33 +3,6 @@

#ifdef CONFIG_NUMA

/* sched_domains SD_NODE_INIT for Meta machines */
#define SD_NODE_INIT (struct sched_domain) {		\
	.parent			= NULL,			\
	.child			= NULL,			\
	.groups			= NULL,			\
	.min_interval		= 8,			\
	.max_interval		= 32,			\
	.busy_factor		= 32,			\
	.imbalance_pct		= 125,			\
	.cache_nice_tries	= 2,			\
	.busy_idx		= 3,			\
	.idle_idx		= 2,			\
	.newidle_idx		= 0,			\
	.wake_idx		= 0,			\
	.forkexec_idx		= 0,			\
	.flags			= SD_LOAD_BALANCE	\
				| SD_BALANCE_FORK	\
				| SD_BALANCE_EXEC	\
				| SD_BALANCE_NEWIDLE	\
				| SD_SERIALIZE,		\
	.last_balance		= jiffies,		\
	.balance_interval	= 1,			\
	.nr_balance_failed	= 0,			\
	.max_newidle_lb_cost	= 0,			\
	.next_decay_max_lb_cost	= jiffies,		\
}

#define cpu_to_node(cpu)	((void)(cpu), 0)
#define parent_node(node)	((void)(node), 0)