[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Include asm/smp.h

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 21 10:04:25 UTC 2019


Quoting Patchwork (2019-08-21 11:01:05)
> == Series Details ==
> 
> Series: drm/i915/gtt: Include asm/smp.h
> URL   : https://patchwork.freedesktop.org/series/65532/
> State : warning
> 
> == Summary ==
> 
> $ dim checkpatch origin/drm-tip
> 8b9d243b31ad drm/i915/gtt: Include asm/smp.h
> -:20: WARNING:INCLUDE_LINUX: Use #include <linux/smp.h> instead of <asm/smp.h>

Sorry, checkpatch but you are wrong. If we did that, it would not
include asm/smp.h for !CONFIG_SMP and we would not have the
wbinvd_on_all_cpus() { wbinv() } stub.
-Chris


More information about the Intel-gfx mailing list