diff options
| author | Yong Ding <yongding@codeaurora.org> | 2018-03-28 10:22:29 +0800 |
|---|---|---|
| committer | Yong Ding <yongding@codeaurora.org> | 2018-04-11 13:11:49 +0800 |
| commit | 785f45b6036532800fa6727679962e677865f7b5 (patch) | |
| tree | 1e6f7589402da164b3f985b2b9ff10b9c011805b /include/linux | |
| parent | ef00227cce638b1ca8bd8c04d342a8688b7400e9 (diff) | |
soc: qcom: hab: add the uninterruptible receive support
In the blocking mode of habmm_socket_recv(), it is an
interruptible wait by default. Here, the uninterruptible
version is added.
Change-Id: Iba9ee10afb3f2529a99a9c90f6fc0cb56fb9cb08
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/habmm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/habmm.h b/include/linux/habmm.h index b4b31dc36faf..966c5ee91be4 100644 --- a/include/linux/habmm.h +++ b/include/linux/habmm.h @@ -143,6 +143,11 @@ int32_t habmm_socket_send(int32_t handle, void *src_buff, uint32_t size_bytes, */ #define HABMM_SOCKET_RECV_FLAGS_NON_BLOCKING 0x00000001 +/* In the blocking mode, this flag is used to indicate it is an + * uninterruptbile blocking call. + */ +#define HABMM_SOCKET_RECV_FLAGS_UNINTERRUPTIBLE 0x00000002 + int32_t habmm_socket_recv(int32_t handle, void *dst_buff, uint32_t *size_bytes, uint32_t timeout, uint32_t flags); |
