1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove obsolte "RCCE_release_lock" => triggers a deadlock on HermitCore

This commit is contained in:
Stefan Lankes 2016-10-22 11:59:22 +02:00
parent be37bf3d03
commit 6cf477f3c6

View file

@ -1196,8 +1196,8 @@ int RCCE_finalize(void){
// for (iword=0; iword<(RCCE_BUFF_SIZE_MAX)/sizeof(int); iword++)
// ((int *)(RCCE_comm_buffer[ue]))[iword] = 0;
// MPBunalloc(&(RCCE_comm_buffer[ue]));
RCCE_release_lock(RCCE_IAM);
#ifndef __hermit__
RCCE_release_lock(RCCE_IAM);
// each core needs to unmap all special memory locations
for (ue=0; ue<RCCE_NP; ue++) {
FreeConfigReg((int *)(virtual_lockaddress[ue]));