git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
ppc64
/
kernel
/
sysfs.c
diff --git
a/arch/ppc64/kernel/sysfs.c
b/arch/ppc64/kernel/sysfs.c
index
33b64c2
..
97a83ff
100644
(file)
--- a/
arch/ppc64/kernel/sysfs.c
+++ b/
arch/ppc64/kernel/sysfs.c
@@
-157,7
+157,7
@@
void ppc64_enable_pmcs(void)
/* instruct hypervisor to maintain PMCs */
if (cur_cpu_spec->firmware_features & FW_FEATURE_SPLPAR) {
/* instruct hypervisor to maintain PMCs */
if (cur_cpu_spec->firmware_features & FW_FEATURE_SPLPAR) {
- char *ptr = (char *)&paca[smp_processor_id()].
lpp
aca;
+ char *ptr = (char *)&paca[smp_processor_id()].
xLpP
aca;
ptr[0xBB] = 1;
}
ptr[0xBB] = 1;
}
@@
-211,8
+211,8
@@
static ssize_t show_##NAME(struct sys_device *dev, char *buf) \
unsigned long val = run_on_cpu(cpu->sysdev.id, read_##NAME, 0); \
return sprintf(buf, "%lx\n", val); \
} \
unsigned long val = run_on_cpu(cpu->sysdev.id, read_##NAME, 0); \
return sprintf(buf, "%lx\n", val); \
} \
-static ssize_t
__attribute_used__
\
-
store_##NAME(struct sys_device *dev, const char *buf,
size_t count) \
+static ssize_t
store_##NAME(struct sys_device *dev, const char *buf,
\
+
size_t count) \
{ \
struct cpu *cpu = container_of(dev, struct cpu, sysdev); \
unsigned long val; \
{ \
struct cpu *cpu = container_of(dev, struct cpu, sysdev); \
unsigned long val; \