git: e91f5814b8e0 - main - linuxkpi: Define `device_iommu_mapped()`
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Mar 2023 20:47:46 UTC
The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=e91f5814b8e0b2fcf154ec6161c6f5a7d0528c18 commit e91f5814b8e0b2fcf154ec6161c6f5a7d0528c18 Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> AuthorDate: 2023-02-20 20:42:38 +0000 Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> CommitDate: 2023-03-20 20:47:35 +0000 linuxkpi: Define `device_iommu_mapped()` For now, it always return false. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D39050 --- sys/compat/linuxkpi/common/include/linux/device.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h index 09a61bdd0a64..4b665e8db8d1 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -577,6 +577,12 @@ device_wakeup_enable(struct device *dev) return (0); } +static inline bool +device_iommu_mapped(struct device *dev __unused) +{ + return (false); +} + #define dev_pm_set_driver_flags(dev, flags) do { \ } while (0)