From 785f45b6036532800fa6727679962e677865f7b5 Mon Sep 17 00:00:00 2001 From: Yong Ding Date: Wed, 28 Mar 2018 10:22:29 +0800 Subject: 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 --- include/linux/habmm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/linux') 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); -- cgit v1.2.3