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>
This commit is contained in:
Harish Kasiviswanathan committed 2020-02-06 15:09:39 -05:00
1 parent 6b8095184f
commit 31530da7c6
1 file changed
-2
-2
View File
@@ -1962,8 +1962,6 @@ out:
HSAKMT_STATUS HSAKMTAPI hsaKmtReleaseSystemProperties(void)
{
CHECK_KFD_OPEN();
HSAKMT_STATUS err;
pthread_mutex_lock(&hsakmt_mutex);