From dcdf1e4632b9f99e376efc2f95af0ae4b83e04d6 Mon Sep 17 00:00:00 2001 From: Cyan_Hsieh Date: Thu, 13 Apr 2023 14:15:28 +0800 Subject: Remove __user definition userspace build will get it from linux/compiler.h Bug: 262917450 Change-Id: Id1ee69b2bb638634bd94035259a4f8139566c0c8 Signed-off-by: Cyan_Hsieh (cherry picked from commit 06ad88e793b2f9cb40b04c5b2716ae4eab02b8ea) --- include/uapi/linux/bigo.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/uapi/linux/bigo.h b/include/uapi/linux/bigo.h index 53e743d..777fef8 100644 --- a/include/uapi/linux/bigo.h +++ b/include/uapi/linux/bigo.h @@ -9,12 +9,8 @@ #define _UAPI_BIGO_H_ #include -#ifdef __KERNEL__ #include -#else -#define __user #include -#endif /* * Structures as parameters for BigOcean commands. It should be passed -- cgit v1.2.3