Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
MAP: Updated rules generation script.
[vpp.git]
/
vlib
/
vlib
/
threads.c
diff --git
a/vlib/vlib/threads.c
b/vlib/vlib/threads.c
index
405a4d6
..
73abba8
100644
(file)
--- a/
vlib/vlib/threads.c
+++ b/
vlib/vlib/threads.c
@@
-159,7
+159,7
@@
vlib_thread_init (vlib_main_t * vm)
if (!tm->main_lcore)
{
tm->main_lcore = clib_bitmap_first_set(avail_cpu);
if (!tm->main_lcore)
{
tm->main_lcore = clib_bitmap_first_set(avail_cpu);
- if (tm->main_lcore == ~0)
+ if (tm->main_lcore ==
(u8)
~0)
return clib_error_return (0, "no available cpus to be used for the"
" main thread");
}
return clib_error_return (0, "no available cpus to be used for the"
" main thread");
}