Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177441
b: refs/heads/master
c: 0f624e7
h: refs/heads/master
i:
  177439: 3449617
v: v3
  • Loading branch information
Paul Mackerras authored and Ingo Molnar committed Dec 15, 2009
1 parent a5d1c2f commit 64291d2
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: a6005123ce22770dbd91bc3cb637ce0807ab959b
refs/heads/master: 0f624e7e5625f4c30c836b7a5decfe2553582391
2 changes: 1 addition & 1 deletion trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ static struct perf_event_context *find_get_context(pid_t pid, int cpu)
if (perf_paranoid_cpu() && !capable(CAP_SYS_ADMIN))
return ERR_PTR(-EACCES);

if (cpu < 0 || cpu > num_possible_cpus())
if (cpu < 0 || cpu >= nr_cpumask_bits)
return ERR_PTR(-EINVAL);

/*
Expand Down

0 comments on commit 64291d2

Please sign in to comment.