drm/i915/dmabuf: fix broken build
authorMatthew Auld <matthew.auld@intel.com>
Thu, 21 Oct 2021 12:53:31 +0000 (13:53 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 22 Oct 2021 07:56:59 +0000 (08:56 +0100)
commit777226dac058d119286b4081953cb5aa2cb7394b
treeb1862be9a85b4943a52e3874d4712c19590a0ed2
parentab5d964c001b9efffcbfa4d67a30186b67d79771
drm/i915/dmabuf: fix broken build

wbinvd_on_all_cpus() is only defined on x86 it seems, plus we need to
include asm/smp.h here.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211021125332.2455288-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c