perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / drivers / media / platform / s5p-mfc / s5p_mfc_iommu.h
blob76667924ee2a82d590840e27148f39bec41fdbc7
1 /*
2 * Copyright (C) 2015 Samsung Electronics Co.Ltd
3 * Authors: Marek Szyprowski <m.szyprowski@samsung.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
9 */
11 #ifndef S5P_MFC_IOMMU_H_
12 #define S5P_MFC_IOMMU_H_
14 #if defined(CONFIG_EXYNOS_IOMMU)
16 static inline bool exynos_is_iommu_available(struct device *dev)
18 return dev->archdata.iommu != NULL;
21 #else
23 static inline bool exynos_is_iommu_available(struct device *dev)
25 return false;
28 #endif
30 #endif /* S5P_MFC_IOMMU_H_ */