Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312428
b: refs/heads/master
c: 214e270
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Gordeev authored and Ingo Molnar committed Jun 14, 2012
1 parent 255ef2c commit 6d96903
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49ad3fd4834182cce9725abb98e080b479fed464
refs/heads/master: 214e270b5f5f6a85400a817d5305c797b2b7467a
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/apic/es7000_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,8 @@ es7000_cpu_mask_to_apicid(const struct cpumask *cpumask, unsigned int *dest_id)
apicid = new_apicid;
round++;
}
if (!round)
return -EINVAL;
*dest_id = apicid;
return 0;
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/apic/summit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ summit_cpu_mask_to_apicid(const struct cpumask *cpumask, unsigned int *dest_id)
apicid |= new_apicid;
round++;
}
if (!round)
return -EINVAL;
*dest_id = apicid;
return 0;
}
Expand Down

0 comments on commit 6d96903

Please sign in to comment.