diff --git a/targets/RT/USER/lte-softmodem.c b/targets/RT/USER/lte-softmodem.c index 59eef9b657c4cd51b5776f32df357343f5f56695..583be1ccb71df73fdb647699e7b21a24ba8928ce 100644 --- a/targets/RT/USER/lte-softmodem.c +++ b/targets/RT/USER/lte-softmodem.c @@ -1402,7 +1402,7 @@ static void* eNB_thread_rx( void* param ) /* Set affinity mask to include CPUs 1 to MAX_CPUS */ /* CPU 0 is reserved for UHD */ CPU_ZERO(&cpuset); - for (j = 2; j < get_nprocs(); j++) + for (j = 1; j < get_nprocs(); j++) CPU_SET(j, &cpuset); s = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); @@ -3296,6 +3296,8 @@ int main( int argc, char **argv ) #endif } + +#ifndef LOWLATENCY cpu_set_t cpuset; int s; char cpu_affinity[1024]; @@ -3329,6 +3331,7 @@ int main( int argc, char **argv ) } LOG_I(HW, "CPU Affinity of main() function is... %s\n", cpu_affinity); +#endif /* device host type is set*/ openair0.host_type = BBU_HOST;