Commit 3c8167f9 authored by Thomas Gleixner's avatar Thomas Gleixner

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: default avatarThomas Gleixner <tglx@linutronix.de>
parent d2ac742d
...@@ -13,7 +13,9 @@ CFLAGS_common.o := $(nostackp) ...@@ -13,7 +13,9 @@ CFLAGS_common.o := $(nostackp)
obj-y := intel_cacheinfo.o addon_cpuid_features.o obj-y := intel_cacheinfo.o addon_cpuid_features.o
obj-y += proc.o capflags.o powerflags.o common.o obj-y += proc.o capflags.o powerflags.o common.o
obj-y += vmware.o hypervisor.o sched.o obj-y += vmware.o hypervisor.o
obj-$(CONFIG_SMP) += sched.o
obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o
obj-$(CONFIG_X86_64) += bugs_64.o obj-$(CONFIG_X86_64) += bugs_64.o
......
...@@ -1047,7 +1047,7 @@ partition_sched_domains(int ndoms_new, struct cpumask *doms_new, ...@@ -1047,7 +1047,7 @@ partition_sched_domains(int ndoms_new, struct cpumask *doms_new,
} }
#endif /* !CONFIG_SMP */ #endif /* !CONFIG_SMP */
struct sched_domain;
unsigned long default_scale_freq_power(struct sched_domain *sd, int cpu); unsigned long default_scale_freq_power(struct sched_domain *sd, int cpu);
unsigned long default_scale_smt_power(struct sched_domain *sd, int cpu); unsigned long default_scale_smt_power(struct sched_domain *sd, int cpu);
......
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