]> err.no Git - linux-2.6/blobdiff - drivers/parisc/sba_iommu.c
[PARISC] Test ioc_needs_fdc variable instead of open coding
[linux-2.6] / drivers / parisc / sba_iommu.c
index 49b61755119557411a3db4a160cd5a13c6bf4321..d09e39e39c60cbbef178b3e39c6b3e0c1a7ab7c8 100644 (file)
@@ -1903,7 +1903,7 @@ sba_common_init(struct sba_device *sba_dev)
         * (bit #61, big endian), we have to flush and sync every time
         * IO-PDIR is changed in Ike/Astro.
         */
-       if (boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) {
+       if (ioc_needs_fdc) {
                printk(KERN_INFO MODULE_NAME " FDC/SYNC required.\n");
        } else {
                printk(KERN_INFO MODULE_NAME " IOC has cache coherent PDIR.\n");