aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-18 15:32:55 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-18 15:32:55 -0400
commit8401f77505d00b779e3d2d74180cb465de1c2e2b (patch)
treecc48962d01fba1c7ceb8d5800c59b6dbace633af /kernel
parent51e97990234ed195a05b424bf04c387f5ae5e5cf (diff)
sched: cleanup, fix spacing
cleanup: fix sysctl_sched_features initialization spacing, and fix sd_alloc_ctl_cpu_table() prototype spacing. found via scripts/checkpatch.pl. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index f6febb25c7b6..9e6fb15f6f78 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -449,12 +449,12 @@ enum {
449}; 449};
450 450
451const_debug unsigned int sysctl_sched_features = 451const_debug unsigned int sysctl_sched_features =
452 SCHED_FEAT_NEW_FAIR_SLEEPERS *1 | 452 SCHED_FEAT_NEW_FAIR_SLEEPERS * 1 |
453 SCHED_FEAT_START_DEBIT *1 | 453 SCHED_FEAT_START_DEBIT * 1 |
454 SCHED_FEAT_TREE_AVG *0 | 454 SCHED_FEAT_TREE_AVG * 0 |
455 SCHED_FEAT_APPROX_AVG *0 | 455 SCHED_FEAT_APPROX_AVG * 0 |
456 SCHED_FEAT_WAKEUP_PREEMPT *1 | 456 SCHED_FEAT_WAKEUP_PREEMPT * 1 |
457 SCHED_FEAT_PREEMPT_RESTRICT *1; 457 SCHED_FEAT_PREEMPT_RESTRICT * 1;
458 458
459#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) 459#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)
460 460
@@ -5367,7 +5367,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd)
5367 return table; 5367 return table;
5368} 5368}
5369 5369
5370static ctl_table *sd_alloc_ctl_cpu_table(int cpu) 5370static ctl_table * sd_alloc_ctl_cpu_table(int cpu)
5371{ 5371{
5372 struct ctl_table *entry, *table; 5372 struct ctl_table *entry, *table;
5373 struct sched_domain *sd; 5373 struct sched_domain *sd;