Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17542
b: refs/heads/master
c: 35ed319
h: refs/heads/master
v: v3
  • Loading branch information
Vivek Goyal authored and Linus Torvalds committed Jan 10, 2006
1 parent 57e4659 commit 8c815ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51be5606d9ff9eb27ed6514f6172fbd7578a25d6
refs/heads/master: 35ed319a36cdfd88fc3debe6ce24e756bc474cce
2 changes: 0 additions & 2 deletions trunk/drivers/base/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,8 @@ static ssize_t show_crash_notes(struct sys_device *dev, char *buf)
* boot up and this data does not change there after. Hence this
* operation should be safe. No locking required.
*/
get_cpu();
addr = __pa(per_cpu_ptr(crash_notes, cpunum));
rc = sprintf(buf, "%Lx\n", addr);
put_cpu();
return rc;
}
static SYSDEV_ATTR(crash_notes, 0400, show_crash_notes, NULL);
Expand Down

0 comments on commit 8c815ef

Please sign in to comment.