149c85a33SEmmanuel Vadot /*- 249c85a33SEmmanuel Vadot * Copyright (c) 2020 The FreeBSD Foundation 349c85a33SEmmanuel Vadot * 449c85a33SEmmanuel Vadot * This software was developed by Emmanuel Vadot under sponsorship 549c85a33SEmmanuel Vadot * from the FreeBSD Foundation. 649c85a33SEmmanuel Vadot * 749c85a33SEmmanuel Vadot * Redistribution and use in source and binary forms, with or without 849c85a33SEmmanuel Vadot * modification, are permitted provided that the following conditions 949c85a33SEmmanuel Vadot * are met: 1049c85a33SEmmanuel Vadot * 1. Redistributions of source code must retain the above copyright 1149c85a33SEmmanuel Vadot * notice, this list of conditions and the following disclaimer. 1249c85a33SEmmanuel Vadot * 2. Redistributions in binary form must reproduce the above copyright 1349c85a33SEmmanuel Vadot * notice, this list of conditions and the following disclaimer in the 1449c85a33SEmmanuel Vadot * documentation and/or other materials provided with the distribution. 1549c85a33SEmmanuel Vadot * 1649c85a33SEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1749c85a33SEmmanuel Vadot * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1849c85a33SEmmanuel Vadot * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1949c85a33SEmmanuel Vadot * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2049c85a33SEmmanuel Vadot * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2149c85a33SEmmanuel Vadot * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2249c85a33SEmmanuel Vadot * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2349c85a33SEmmanuel Vadot * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2449c85a33SEmmanuel Vadot * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2549c85a33SEmmanuel Vadot * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2649c85a33SEmmanuel Vadot * SUCH DAMAGE. 2749c85a33SEmmanuel Vadot */ 2849c85a33SEmmanuel Vadot 29*307f78f3SVladimir Kondratyev #ifndef _LINUXKPI_LINUX_PREFETCH_H_ 30*307f78f3SVladimir Kondratyev #define _LINUXKPI_LINUX_PREFETCH_H_ 3149c85a33SEmmanuel Vadot 3249c85a33SEmmanuel Vadot #define prefetchw(x) __builtin_prefetch(x,1) 3349c85a33SEmmanuel Vadot 34*307f78f3SVladimir Kondratyev #endif /* _LINUXKPI_LINUX_PREFETCH_H_ */ 35