Commit 4bd4ae89 authored by Carsten Heinz's avatar Carsten Heinz

Exclude hsa char device from 32bit devices

parent ab5503e0
Pipeline #1321 passed with stages
in 165 minutes and 50 seconds
......@@ -58,6 +58,7 @@
#define TLKM_HSA_MAJOR 421
#ifdef __x86_64__
/******************************************************************************/
/* global struct and variable declarations */
......@@ -516,4 +517,16 @@ void char_hsa_unregister(void)
}
}
#else
// dummy functions on 32bit devices
int char_hsa_register(struct tlkm_device *tlkm_dev)
{
return 0;
}
void char_hsa_unregister(void) {}
#endif
/******************************************************************************/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment