diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-24 13:32:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-24 13:32:01 +0200 |
| commit | ec9c88070debd8d87335f2468481a41d6bc2d0c6 (patch) | |
| tree | 61a028be128fa7236f739165efef42c66de919d2 /include/linux/dmar.h | |
| parent | a791dc135325862fdf491ac088f54993710e2515 (diff) | |
| parent | 1707c39ae309bf91965aa6f04d63816a090d90a1 (diff) | |
| download | linux-next-ec9c88070debd8d87335f2468481a41d6bc2d0c6.tar.gz linux-next-ec9c88070debd8d87335f2468481a41d6bc2d0c6.zip | |
Merge 1707c39ae309 ("Merge tag 'driver-core-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core") driver-core-next
This merges the driver core changes in 6.0-rc7 into driver-core-next as
they are needed here as well for testing.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dmar.h')
| -rw-r--r-- | include/linux/dmar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h index 8917a32173c4..d81a51978d01 100644 --- a/include/linux/dmar.h +++ b/include/linux/dmar.h @@ -65,7 +65,6 @@ struct dmar_pci_notify_info { extern struct rw_semaphore dmar_global_lock; extern struct list_head dmar_drhd_units; -extern int intel_iommu_enabled; #define for_each_drhd_unit(drhd) \ list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ @@ -89,8 +88,7 @@ extern int intel_iommu_enabled; static inline bool dmar_rcu_check(void) { return rwsem_is_locked(&dmar_global_lock) || - system_state == SYSTEM_BOOTING || - (IS_ENABLED(CONFIG_INTEL_IOMMU) && !intel_iommu_enabled); + system_state == SYSTEM_BOOTING; } #define dmar_rcu_dereference(p) rcu_dereference_check((p), dmar_rcu_check()) |
