on_each_cpu() compat fixup from krh
[platform/upstream/libdrm.git] / linux-core / drm_ttm.c
index b58a1ad..aa137dd 100644 (file)
@@ -72,7 +72,7 @@ void drm_ttm_cache_flush(struct page *pages[], unsigned long num_pages)
                return;
        }
 #endif
-       if (on_each_cpu(drm_ttm_ipi_handler, NULL,1) != 0)
+       if (drm_on_each_cpu(drm_ttm_ipi_handler, NULL, 1) != 0)
                DRM_ERROR("Timed out waiting for drm cache flush.\n");
 }
 EXPORT_SYMBOL(drm_ttm_cache_flush);