Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24766
b: refs/heads/master
c: e6ef0fc
h: refs/heads/master
v: v3
  • Loading branch information
hawkes@sgi.com authored and Tony Luck committed Mar 27, 2006
1 parent f09ffbe commit c56aa25
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: ce9eed5a98efacb896551d3470d9d46826caaee5
refs/heads/master: e6ef0fca2c61f7e773178be8c3833a709a47e022
2 changes: 1 addition & 1 deletion trunk/arch/ia64/sn/kernel/sn2/sn_hwperf.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ static int sn_hwperf_op_cpu(struct sn_hwperf_op_info *op_info)
op_info->a->arg &= SN_HWPERF_ARG_OBJID_MASK;

if (cpu != SN_HWPERF_ARG_ANY_CPU) {
if (cpu >= num_online_cpus() || !cpu_online(cpu)) {
if (cpu >= NR_CPUS || !cpu_online(cpu)) {
r = -EINVAL;
goto out;
}
Expand Down

0 comments on commit c56aa25

Please sign in to comment.