]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Add prefetch.h
authormanu <manu@FreeBSD.org>
Tue, 6 Oct 2020 10:37:21 +0000 (10:37 +0000)
committermanu <manu@FreeBSD.org>
Tue, 6 Oct 2020 10:37:21 +0000 (10:37 +0000)
commit69b75883275a6eb647d19336bee0d3280e92a189
tree5c8a6424f20352029d05e7732da18f07b55f23ec
parentb924a56ecdfcdee392b6331043173184e98dc3e8
linuxkpi: Add prefetch.h

Only add prefetchw as it is the only function used by drm.
Simply use the __builtin_prefetch which is available in all
compiler for a long time.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26677
sys/compat/linuxkpi/common/include/linux/prefetch.h [new file with mode: 0644]