Commit 8401f775 authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarIngo Molnar <mingo@elte.hu>
parent 51e97990
...@@ -449,12 +449,12 @@ enum { ...@@ -449,12 +449,12 @@ enum {
}; };
const_debug unsigned int sysctl_sched_features = const_debug unsigned int sysctl_sched_features =
SCHED_FEAT_NEW_FAIR_SLEEPERS *1 | SCHED_FEAT_NEW_FAIR_SLEEPERS * 1 |
SCHED_FEAT_START_DEBIT *1 | SCHED_FEAT_START_DEBIT * 1 |
SCHED_FEAT_TREE_AVG *0 | SCHED_FEAT_TREE_AVG * 0 |
SCHED_FEAT_APPROX_AVG *0 | SCHED_FEAT_APPROX_AVG * 0 |
SCHED_FEAT_WAKEUP_PREEMPT *1 | SCHED_FEAT_WAKEUP_PREEMPT * 1 |
SCHED_FEAT_PREEMPT_RESTRICT *1; SCHED_FEAT_PREEMPT_RESTRICT * 1;
#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)
...@@ -5367,7 +5367,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd) ...@@ -5367,7 +5367,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd)
return table; 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 ctl_table *entry, *table;
struct sched_domain *sd; struct sched_domain *sd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment