PD#SWPL-8875
Problem:
macro "u64_to_user_ptr(x)" redefinition
Solution:
delete the macro
Verify:
kernel4.19 + arm64
kernel4.19 + arm
kernel4.9 + arm64
kernel4.9 + arm
Change-Id: Ie2549b1bddbc9fd819511a3c6d1b40c21561ccef
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
#define TEE_NUM_DEVICES 32
#define TEE_IOCTL_PARAM_SIZE(x) (sizeof(struct tee_param) * (x))
-
-#define u64_to_user_ptr(x) ( \
- { \
- typecheck(u64, x); \
- (void __user *)(uintptr_t)x; \
- } \
- )
/*
* Unprivileged devices in the lower half range and privileged devices in
* the upper half range.