Skip to content

Commit

Permalink
sched: cleanup, fix spacing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Oct 18, 2007
1 parent 51e9799 commit 8401f77
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,12 @@ enum {
};

const_debug unsigned int sysctl_sched_features =
SCHED_FEAT_NEW_FAIR_SLEEPERS *1 |
SCHED_FEAT_START_DEBIT *1 |
SCHED_FEAT_TREE_AVG *0 |
SCHED_FEAT_APPROX_AVG *0 |
SCHED_FEAT_WAKEUP_PREEMPT *1 |
SCHED_FEAT_PREEMPT_RESTRICT *1;
SCHED_FEAT_NEW_FAIR_SLEEPERS * 1 |
SCHED_FEAT_START_DEBIT * 1 |
SCHED_FEAT_TREE_AVG * 0 |
SCHED_FEAT_APPROX_AVG * 0 |
SCHED_FEAT_WAKEUP_PREEMPT * 1 |
SCHED_FEAT_PREEMPT_RESTRICT * 1;

#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)

Expand Down Expand Up @@ -5367,7 +5367,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd)
return table;
}

static ctl_table *sd_alloc_ctl_cpu_table(int cpu)
static ctl_table * sd_alloc_ctl_cpu_table(int cpu)
{
struct ctl_table *entry, *table;
struct sched_domain *sd;
Expand Down

0 comments on commit 8401f77

Please sign in to comment.