Message ID | 1422460889-12144-2-git-send-email-ciprian.barbu@linaro.org |
---|---|
State | Accepted |
Commit | 7d0425f344a1f3b18de596c0e0ffe0bdc6c5273e |
Headers | show |
Merged! Maxim. On 01/28/2015 07:01 PM, Ciprian Barbu wrote: > Fix for https://bugs.linaro.org/show_bug.cgi?id=1146 > > Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> > --- > example/l2fwd/odp_l2fwd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c > index 18403da..150de18 100644 > --- a/example/l2fwd/odp_l2fwd.c > +++ b/example/l2fwd/odp_l2fwd.c > @@ -393,7 +393,7 @@ int main(int argc, char *argv[]) > odph_linux_pthread_create(&thread_tbl[i], &thd_mask, > thr_run_func, > &gbl_args->thread[i]); > - cpu = odp_cpumask_next(&thd_mask, cpu); > + cpu = odp_cpumask_next(&cpumask, cpu); > } > > /* Master thread waits for other threads to exit */
diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c index 18403da..150de18 100644 --- a/example/l2fwd/odp_l2fwd.c +++ b/example/l2fwd/odp_l2fwd.c @@ -393,7 +393,7 @@ int main(int argc, char *argv[]) odph_linux_pthread_create(&thread_tbl[i], &thd_mask, thr_run_func, &gbl_args->thread[i]); - cpu = odp_cpumask_next(&thd_mask, cpu); + cpu = odp_cpumask_next(&cpumask, cpu); } /* Master thread waits for other threads to exit */
Fix for https://bugs.linaro.org/show_bug.cgi?id=1146 Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> --- example/l2fwd/odp_l2fwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)