xilkernel: fix issue with the static_pthread_support
Enable the static_pthread_support when there is valid entries in the static_pthread_table. Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com> Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
e2388c02d7
commit
8b74cbc739
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ proc generate {os_handle} {
|
|||
set static_pthread_table_handle [get_arrays static_pthread_table -of_objects $os_handle]
|
||||
if { $static_pthread_table_handle != "" } {
|
||||
#set n_init_self_pthreads [llength $static_pthread_table_handle]
|
||||
set n_init_self_pthreads [llength [get_arrays $static_pthread_table_handle -of_objects $os_handle]]
|
||||
set n_init_self_pthreads [llength [get_property PARAM.pthread_prio [get_arrays $static_pthread_table_handle -of_objects $os_handle]]]
|
||||
#set n_init_self_pthreads [get_property CONFIG.static_pthread_table $os_handle]
|
||||
if {$n_init_self_pthreads != "" } {
|
||||
xput_define $config_file "config_static_pthread_support" "true"
|
||||
|
|
Loading…
Add table
Reference in a new issue