aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/cpu.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-12-07 20:02:12 -0500
committerTejun Heo <tj@kernel.org>2009-12-07 20:02:12 -0500
commit50de1a8ef18da0cfff97543315b4e042e8bb7c83 (patch)
tree86056d1aef0e83d7839a8350c9e6109b80b3cfa5 /drivers/base/cpu.c
parent390dfd95c5df1ab3921dd388d11b2aee332c3f2c (diff)
parentee0a6efc1897ef817e177e669f5c5d211194df24 (diff)
Merge branch 'for-linus' into for-next
Conflicts: mm/percpu.c
Diffstat (limited to 'drivers/base/cpu.c')
-rw-r--r--drivers/base/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c
index e62a4ccea54d..69ee5b7517ec 100644
--- a/drivers/base/cpu.c
+++ b/drivers/base/cpu.c
@@ -97,7 +97,7 @@ static ssize_t show_crash_notes(struct sys_device *dev, struct sysdev_attribute
97 * boot up and this data does not change there after. Hence this 97 * boot up and this data does not change there after. Hence this
98 * operation should be safe. No locking required. 98 * operation should be safe. No locking required.
99 */ 99 */
100 addr = __pa(per_cpu_ptr(crash_notes, cpunum)); 100 addr = per_cpu_ptr_to_phys(per_cpu_ptr(crash_notes, cpunum));
101 rc = sprintf(buf, "%Lx\n", addr); 101 rc = sprintf(buf, "%Lx\n", addr);
102 return rc; 102 return rc;
103} 103}