libhsakmt: Child process can reacquire system props

If child process explicitly calls hsaKmtReleaseSystemProperties(), it
fails. Allow child process to release and acquire system properties.



Change-Id: I649a4600212711b2ad4474f605f3ca39a4003d03
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Tá an tiomantas seo le fáil i:
Harish Kasiviswanathan
2020-02-06 14:40:27 -05:00
tuismitheoir 6b8095184f
tiomantas 31530da7c6
-2
Féach ar an gComhad
@@ -1962,8 +1962,6 @@ out:
HSAKMT_STATUS HSAKMTAPI hsaKmtReleaseSystemProperties(void)
{
CHECK_KFD_OPEN();
HSAKMT_STATUS err;
pthread_mutex_lock(&hsakmt_mutex);