浏览代码

Merge "synx: adding a macro for invalid synx handle" into synx-kernel.lnx.1.0

Linux Build Service Account 2 年之前
父节点
当前提交
7ab6a6bf37
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      msm/synx/synx_api.h

+ 6 - 0
msm/synx/synx_api.h

@@ -14,6 +14,12 @@
 
 #define SYNX_NO_TIMEOUT        ((u64)-1)
 
+/**
+ * SYNX_INVALID_HANDLE      : client can assign the synx handle variable with this value
+ *                            when it doesn't hold a valid synx handle
+ */
+#define SYNX_INVALID_HANDLE 0
+
 /**
  * enum synx_create_flags - Flags passed during synx_create call
  *