Re: ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Include asm/smp.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux