git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] ppc64: make firmware_has_feature() stronger
[safe/jmp/linux-2.6]
/
arch
/
ppc64
/
kernel
/
sysfs.c
diff --git
a/arch/ppc64/kernel/sysfs.c
b/arch/ppc64/kernel/sysfs.c
index
e399963
..
eca15d2
100644
(file)
--- a/
arch/ppc64/kernel/sysfs.c
+++ b/
arch/ppc64/kernel/sysfs.c
@@
-153,11
+153,9
@@
void ppc64_enable_pmcs(void)
break;
}
-#ifdef CONFIG_PPC_PSERIES
/* instruct hypervisor to maintain PMCs */
if (firmware_has_feature(FW_FEATURE_SPLPAR))
get_paca()->lppaca.pmcregs_in_use = 1;
-#endif /* CONFIG_PPC_PSERIES */
}
#else