Merge tag 'drm-next-2021-11-12' of git://anongit.freedesktop.org/drm/drm
[sfrench/cifs-2.6.git] / drivers / gpu / drm / i915 / gem / i915_gem_dmabuf.c
index a45d0ec2c5b69d68db91b1b9c2778a9069d682b5..e8a58c9971703e7d1a49a1ca41f23e94df95894e 100644 (file)
@@ -7,17 +7,15 @@
 #include <linux/dma-buf.h>
 #include <linux/highmem.h>
 #include <linux/dma-resv.h>
+#include <linux/module.h>
+
+#include <asm/smp.h>
 
 #include "i915_drv.h"
 #include "i915_gem_object.h"
 #include "i915_scatterlist.h"
 
-#if defined(CONFIG_X86)
-#include <asm/smp.h>
-#else
-#define wbinvd_on_all_cpus() \
-       pr_warn(DRIVER_NAME ": Missing cache flush in %s\n", __func__)
-#endif
+MODULE_IMPORT_NS(DMA_BUF);
 
 I915_SELFTEST_DECLARE(static bool force_different_devices;)