powerpc: Remove FW_FEATURE ISERIES from arch code
This is no longer selectable, so just remove all the dependent code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
ec86b45af4
commit
f5339277eb
@@ -12,7 +12,6 @@
|
||||
#include <asm/current.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/cputable.h>
|
||||
#include <asm/firmware.h>
|
||||
#include <asm/hvcall.h>
|
||||
#include <asm/prom.h>
|
||||
#include <asm/machdep.h>
|
||||
@@ -341,8 +340,7 @@ static void __cpuinit register_cpu_online(unsigned int cpu)
|
||||
int i, nattrs;
|
||||
|
||||
#ifdef CONFIG_PPC64
|
||||
if (!firmware_has_feature(FW_FEATURE_ISERIES) &&
|
||||
cpu_has_feature(CPU_FTR_SMT))
|
||||
if (cpu_has_feature(CPU_FTR_SMT))
|
||||
device_create_file(s, &dev_attr_smt_snooze_delay);
|
||||
#endif
|
||||
|
||||
@@ -414,8 +412,7 @@ static void unregister_cpu_online(unsigned int cpu)
|
||||
BUG_ON(!c->hotpluggable);
|
||||
|
||||
#ifdef CONFIG_PPC64
|
||||
if (!firmware_has_feature(FW_FEATURE_ISERIES) &&
|
||||
cpu_has_feature(CPU_FTR_SMT))
|
||||
if (cpu_has_feature(CPU_FTR_SMT))
|
||||
device_remove_file(s, &dev_attr_smt_snooze_delay);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user