summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f04f60a)
Change-Id: I339fe13ff2d124fbf0a91223c090921902cb965d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
cpu_index = strtoul(&pmask[i], &endptr, 10);
cpu_index = strtoul(&pmask[i], &endptr, 10);
- /*
- * If we read a CPU index, increment it by one to return a number of
- * CPUs.
- */
if ((&pmask[i] != endptr) && (cpu_index < INT_MAX))
return (int) cpu_index;
if ((&pmask[i] != endptr) && (cpu_index < INT_MAX))
return (int) cpu_index;