Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: powerpc: Fix build for 32-bit SMP configs
This commit is contained in:
commit
ecf318cc3d
1 changed files with 2 additions and 0 deletions
|
@ -717,9 +717,11 @@ static void unregister_cpu_online(unsigned int cpu)
|
||||||
|
|
||||||
BUG_ON(!c->hotpluggable);
|
BUG_ON(!c->hotpluggable);
|
||||||
|
|
||||||
|
#ifdef CONFIG_PPC64
|
||||||
if (!firmware_has_feature(FW_FEATURE_ISERIES) &&
|
if (!firmware_has_feature(FW_FEATURE_ISERIES) &&
|
||||||
cpu_has_feature(CPU_FTR_SMT))
|
cpu_has_feature(CPU_FTR_SMT))
|
||||||
sysdev_remove_file(s, &attr_smt_snooze_delay);
|
sysdev_remove_file(s, &attr_smt_snooze_delay);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PMC stuff */
|
/* PMC stuff */
|
||||||
switch (cur_cpu_spec->pmc_type) {
|
switch (cur_cpu_spec->pmc_type) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue