Skip to content

Commit

Permalink
sched: remove unused SCHED_INIT_NODE
Browse files Browse the repository at this point in the history
not used since new numa scheduler init sequence

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

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
  • Loading branch information
Vincent Guittot authored and James Hogan committed Mar 19, 2014
1 parent d3c7e51 commit 2aca46c
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions arch/metag/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 2aca46c

Please sign in to comment.