summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-11-06 22:54:55 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-11-06 22:54:55 +0100
commit3c8167f96df4c45c659ad6df520e3449587a7d5d (patch)
tree7fbf4ebdc2bc311a15a92ad9d19789e3f8b866b4 /include/linux/sched.h
parentd2ac742de047029bb44d0f1b7d4b01c35678a19a (diff)
downloadlwn-3c8167f96df4c45c659ad6df520e3449587a7d5d.tar.gz
lwn-3c8167f96df4c45c659ad6df520e3449587a7d5d.zip
x86: Fix UP compile
The power balancing hackery is only relevant for SMP and stupidly enough breaks the UP build on x86 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 676126d56894..dedc29ec574c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1047,7 +1047,7 @@ partition_sched_domains(int ndoms_new, struct cpumask *doms_new,
}
#endif /* !CONFIG_SMP */
-
+struct sched_domain;
unsigned long default_scale_freq_power(struct sched_domain *sd, int cpu);
unsigned long default_scale_smt_power(struct sched_domain *sd, int cpu);