Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125725
b: refs/heads/master
c: 8fd2d2d
h: refs/heads/master
i:
  125723: 972502f
v: v3
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jan 3, 2009
1 parent 9a54657 commit a588309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 80855f7361eb68205e6bc1981928629d9b02d5c9
refs/heads/master: 8fd2d2d5aaf086cfa3b2e2e58cab96b7afdc9e51
2 changes: 1 addition & 1 deletion trunk/drivers/base/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ print_cpus_func(present);
*/
static ssize_t print_cpus_kernel_max(struct sysdev_class *class, char *buf)
{
int n = snprintf(buf, PAGE_SIZE-2, "%d\n", CONFIG_NR_CPUS - 1);
int n = snprintf(buf, PAGE_SIZE-2, "%d\n", NR_CPUS - 1);
return n;
}
static SYSDEV_CLASS_ATTR(kernel_max, 0444, print_cpus_kernel_max, NULL);
Expand Down

0 comments on commit a588309

Please sign in to comment.