projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9377ff
)
[POWERPC] Enable PURR sysfs entry correctly
author
Michael Neuling
<mikey@neuling.org>
Fri, 28 Jul 2006 03:58:37 +0000
(13:58 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 7 Aug 2006 02:03:49 +0000
(12:03 +1000)
We have CPU_FTR_PURR now, so let's use it.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/sysfs.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/sysfs.c
b/arch/powerpc/kernel/sysfs.c
index ae927a4e46e4658e4f26676f3f2032491f268ef0..406f308ddeaddf2dda54c6f75ae656f2b9e159cf 100644
(file)
--- a/
arch/powerpc/kernel/sysfs.c
+++ b/
arch/powerpc/kernel/sysfs.c
@@
-230,7
+230,7
@@
static void register_cpu_online(unsigned int cpu)
if (cur_cpu_spec->num_pmcs >= 8)
sysdev_create_file(s, &attr_pmc8);
- if (cpu_has_feature(CPU_FTR_
SMT
))
+ if (cpu_has_feature(CPU_FTR_
PURR
))
sysdev_create_file(s, &attr_purr);
}
@@
-272,7
+272,7
@@
static void unregister_cpu_online(unsigned int cpu)
if (cur_cpu_spec->num_pmcs >= 8)
sysdev_remove_file(s, &attr_pmc8);
- if (cpu_has_feature(CPU_FTR_
SMT
))
+ if (cpu_has_feature(CPU_FTR_
PURR
))
sysdev_remove_file(s, &attr_purr);
}
#endif /* CONFIG_HOTPLUG_CPU */