File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,7 @@ struct sched_domain {
143
143
unsigned int ttwu_move_affine ;
144
144
unsigned int ttwu_move_balance ;
145
145
#endif
146
- #ifdef CONFIG_SCHED_DEBUG
147
146
char * name ;
148
- #endif
149
147
union {
150
148
void * private ; /* used during construction */
151
149
struct rcu_head rcu ; /* used during destruction */
@@ -201,18 +199,12 @@ struct sched_domain_topology_level {
201
199
int flags ;
202
200
int numa_level ;
203
201
struct sd_data data ;
204
- #ifdef CONFIG_SCHED_DEBUG
205
202
char * name ;
206
- #endif
207
203
};
208
204
209
205
extern void __init set_sched_topology (struct sched_domain_topology_level * tl );
210
206
211
- #ifdef CONFIG_SCHED_DEBUG
212
207
# define SD_INIT_NAME (type ) .name = #type
213
- #else
214
- # define SD_INIT_NAME (type )
215
- #endif
216
208
217
209
#else /* CONFIG_SMP */
218
210
Original file line number Diff line number Diff line change @@ -1635,9 +1635,7 @@ sd_init(struct sched_domain_topology_level *tl,
1635
1635
.max_newidle_lb_cost = 0 ,
1636
1636
.last_decay_max_lb_cost = jiffies ,
1637
1637
.child = child ,
1638
- #ifdef CONFIG_SCHED_DEBUG
1639
1638
.name = tl -> name ,
1640
- #endif
1641
1639
};
1642
1640
1643
1641
sd_span = sched_domain_span (sd );
@@ -2338,10 +2336,8 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
2338
2336
if (!cpumask_subset (sched_domain_span (child ),
2339
2337
sched_domain_span (sd ))) {
2340
2338
pr_err ("BUG: arch topology borken\n" );
2341
- #ifdef CONFIG_SCHED_DEBUG
2342
2339
pr_err (" the %s domain not a subset of the %s domain\n" ,
2343
2340
child -> name , sd -> name );
2344
- #endif
2345
2341
/* Fixup, ensure @sd has at least @child CPUs. */
2346
2342
cpumask_or (sched_domain_span (sd ),
2347
2343
sched_domain_span (sd ),
You can’t perform that action at this time.
0 commit comments