projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e6f9f
)
[HACK] iommu/exynos: fix compile error
author
Janghyuck Kim
<janghyuck.kim@samsung.com>
Tue, 9 Jan 2018 04:23:45 +0000
(13:23 +0900)
committer
Sangwook Ju
<sw.ju@samsung.com>
Mon, 14 May 2018 10:45:21 +0000
(19:45 +0900)
Change-Id: Iff1e5c745b0065e7a2bff2c29f5dd3fffd69485e
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/iommu/exynos-iommu-reg.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/exynos-iommu-reg.h
b/drivers/iommu/exynos-iommu-reg.h
index 85c65c5b83c8fbf3ba6c19ecfca85a7bbacfb2c3..78e49c09496fec1f318ef6683d7311da1580a61b 100644
(file)
--- a/
drivers/iommu/exynos-iommu-reg.h
+++ b/
drivers/iommu/exynos-iommu-reg.h
@@
-13,6
+13,7
@@
#define is_secure_info_fail(x) ((((x) >> 16) & 0xffff) == 0xdead)
static inline u32 __secure_info_read(unsigned int addr)
{
+#if 0
u32 ret;
ret = exynos_smc(SMC_DRM_SEC_SMMU_INFO, (unsigned long)addr,
@@
-21,6
+22,9
@@
static inline u32 __secure_info_read(unsigned int addr)
pr_err("Invalid value returned, %#x\n", ret);
return ret;
+#else
+ return 0;
+#endif
}
static inline void __sysmmu_tlb_invalidate_all(void __iomem *sfrbase)