libhsakmt: Move global zfb_support to globals.c

zfb_support needs to accessed from multiple places, so move to globals.c
file

Change-Id: I40b487c26a13e7cc6fc01b671d6166e7114e02d2
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 191caf46ac]
This commit is contained in:
Harish Kasiviswanathan
2024-02-25 17:37:56 -05:00
parent aeddcb8156
commit de1c7daba7
4 changed files with 3 additions and 5 deletions
-3
View File
@@ -49,9 +49,6 @@ static pid_t parent_pid = -1;
int hsakmt_debug_level;
bool hsakmt_forked;
/* zfb is mainly used during emulation */
int zfb_support;
/* is_forked_child detects when the process has forked since the last
* time this function was called. We cannot rely on pthread_atfork
* because the process can fork without calling the fork function in