]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iommu/intel_irq_remapping.c
Merge remote-tracking branch 'dwmw2-iommu/master'
[karo-tx-linux.git] / drivers / iommu / intel_irq_remapping.c
index e9b241b1c9dd8469aedaa51fda108c6b1e338450..ac596928f6b40af32e9c44ecf388ebf7ed4b10ed 100644 (file)
@@ -753,7 +753,7 @@ static inline void set_irq_posting_cap(void)
                 * should have X86_FEATURE_CX16 support, this has been confirmed
                 * with Intel hardware guys.
                 */
-               if ( cpu_has_cx16 )
+               if (boot_cpu_has(X86_FEATURE_CX16))
                        intel_irq_remap_ops.capability |= 1 << IRQ_POSTING_CAP;
 
                for_each_iommu(iommu, drhd)