powerpc: Replace __get_cpu_var uses
[deliverable/linux.git] / arch / powerpc / kernel / iommu.c
index a10642a0d861cd6a5a80cbe796b36e97d37f9df9..71e60bfb89e27a3bd8cc72fc5304f061a8dd1424 100644 (file)
@@ -208,7 +208,7 @@ static unsigned long iommu_range_alloc(struct device *dev,
         * We don't need to disable preemption here because any CPU can
         * safely use any IOMMU pool.
         */
-       pool_nr = __raw_get_cpu_var(iommu_pool_hash) & (tbl->nr_pools - 1);
+       pool_nr = __this_cpu_read(iommu_pool_hash) & (tbl->nr_pools - 1);
 
        if (largealloc)
                pool = &(tbl->large_pool);
This page took 0.025912 seconds and 5 git commands to generate.