From cd1949d4e2148bb0dd6df60f76545616c2b7ec3b Mon Sep 17 00:00:00 2001 From: Amir Samuelov Date: Sun, 6 Dec 2015 11:58:26 +0200 Subject: [PATCH] include: uapi: fix spcom.h using bitops The include file is not available on user space. remove it from the spcom.h uapi file. Change-Id: I1a2ea14a4fc1154b63776e83909389cc73398f7d Signed-off-by: Amir Samuelov --- include/uapi/linux/spcom.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/spcom.h b/include/uapi/linux/spcom.h index eb09d72ce21b..cdb229bf6e13 100644 --- a/include/uapi/linux/spcom.h +++ b/include/uapi/linux/spcom.h @@ -14,7 +14,9 @@ #define _UAPI_SPCOM_H_ #include /* uint32_t, bool */ -#include /* BIT() */ +#ifndef BIT + #define BIT(x) (1 << x) +#endif /** * @brief - Secure Processor Communication interface to user space spcomlib.