Message ID | 1446128307-9588-2-git-send-email-anders.roxell@linaro.org |
---|---|
State | Accepted |
Commit | 0b5af55643c2dd90768b6d0a2e1bab216c026e59 |
Headers | show |
diff --git a/platform/linux-generic/odp_thrmask.c b/platform/linux-generic/odp_thrmask.c index a7c3c69..b62d03c 100644 --- a/platform/linux-generic/odp_thrmask.c +++ b/platform/linux-generic/odp_thrmask.c @@ -7,16 +7,11 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif -#include <sched.h> #include <odp_config_internal.h> #include <odp/thrmask.h> #include <odp/cpumask.h> -#if CPU_SETSIZE < _ODP_INTERNAL_MAX_THREADS -#error Thread mask does not fit all thread IDs -#endif - void odp_thrmask_from_str(odp_thrmask_t *mask, const char *str) { odp_cpumask_from_str(&mask->m, str);
Its wrong to associate the maximum number of threads to the number of CPUs available. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- platform/linux-generic/odp_thrmask.c | 5 ----- 1 file changed, 5 deletions(-)