diff options
Diffstat (limited to 'arch/ppc64/kernel/sysfs.c')
-rw-r--r-- | arch/ppc64/kernel/sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/sysfs.c b/arch/ppc64/kernel/sysfs.c index e399963521c0..eca15d25e026 100644 --- a/arch/ppc64/kernel/sysfs.c +++ b/arch/ppc64/kernel/sysfs.c | |||
@@ -153,11 +153,9 @@ void ppc64_enable_pmcs(void) | |||
153 | break; | 153 | break; |
154 | } | 154 | } |
155 | 155 | ||
156 | #ifdef CONFIG_PPC_PSERIES | ||
157 | /* instruct hypervisor to maintain PMCs */ | 156 | /* instruct hypervisor to maintain PMCs */ |
158 | if (firmware_has_feature(FW_FEATURE_SPLPAR)) | 157 | if (firmware_has_feature(FW_FEATURE_SPLPAR)) |
159 | get_paca()->lppaca.pmcregs_in_use = 1; | 158 | get_paca()->lppaca.pmcregs_in_use = 1; |
160 | #endif /* CONFIG_PPC_PSERIES */ | ||
161 | } | 159 | } |
162 | 160 | ||
163 | #else | 161 | #else |