diff options
| author | Amir Samuelov <amirs@codeaurora.org> | 2015-12-06 11:58:26 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:13:31 -0700 |
| commit | cd1949d4e2148bb0dd6df60f76545616c2b7ec3b (patch) | |
| tree | 9a93be600f44b755283747d401bd60d6647a1af2 /include/uapi | |
| parent | 349d3d0dbe410ff186d17320acceebad6307a641 (diff) | |
include: uapi: fix spcom.h using bitops
The include file <linux/bitops.h> is not available on user space.
remove it from the spcom.h uapi file.
Change-Id: I1a2ea14a4fc1154b63776e83909389cc73398f7d
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/spcom.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <linux/types.h> /* uint32_t, bool */ -#include <linux/bitops.h> /* BIT() */ +#ifndef BIT + #define BIT(x) (1 << x) +#endif /** * @brief - Secure Processor Communication interface to user space spcomlib. |
