Date: Wed, 21 Feb 2018 08:05:56 +0000 (UTC) From: Wojciech Macek <wma@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329701 - head/sys/dev/cxgbe Message-ID: <201802210805.w1L85u12004327@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wma Date: Wed Feb 21 08:05:56 2018 New Revision: 329701 URL: https://svnweb.freebsd.org/changeset/base/329701 Log: CXGBE: implement prefetch on non-Intel architectures Submitted by: Michal Stanek <mst@semihalf.com> Obtained from: Semihalf Reviewed by: np, pdk@semihalf.com Sponsored by: IBM, QCM Technologies Differential revision: https://reviews.freebsd.org/D14452 Modified: head/sys/dev/cxgbe/adapter.h Modified: head/sys/dev/cxgbe/adapter.h ============================================================================== --- head/sys/dev/cxgbe/adapter.h Wed Feb 21 05:04:58 2018 (r329700) +++ head/sys/dev/cxgbe/adapter.h Wed Feb 21 08:05:56 2018 (r329701) @@ -72,7 +72,7 @@ prefetch(void *x) __asm volatile("prefetcht0 %0" :: "m" (*(unsigned long *)x)); } #else -#define prefetch(x) +#define prefetch(x) __builtin_prefetch(x) #endif #ifndef SYSCTL_ADD_UQUAD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802210805.w1L85u12004327>