1*8870cb57SGreg V /*- 2*8870cb57SGreg V * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3*8870cb57SGreg V * 4*8870cb57SGreg V * Copyright (c) 2022 Greg V <greg@unrelenting.technology> 5*8870cb57SGreg V * 6*8870cb57SGreg V * Redistribution and use in source and binary forms, with or without 7*8870cb57SGreg V * modification, are permitted provided that the following conditions 8*8870cb57SGreg V * are met: 9*8870cb57SGreg V * 1. Redistributions of source code must retain the above copyright 10*8870cb57SGreg V * notice, this list of conditions and the following disclaimer. 11*8870cb57SGreg V * 2. Redistributions in binary form must reproduce the above copyright 12*8870cb57SGreg V * notice, this list of conditions and the following disclaimer in the 13*8870cb57SGreg V * documentation and/or other materials provided with the distribution. 14*8870cb57SGreg V * 15*8870cb57SGreg V * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 16*8870cb57SGreg V * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*8870cb57SGreg V * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*8870cb57SGreg V * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 19*8870cb57SGreg V * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*8870cb57SGreg V * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*8870cb57SGreg V * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*8870cb57SGreg V * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*8870cb57SGreg V * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*8870cb57SGreg V * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*8870cb57SGreg V * SUCH DAMAGE. 26*8870cb57SGreg V */ 27*8870cb57SGreg V 28*8870cb57SGreg V #ifndef _LINUXKPI_ASM_NEON_H_ 29*8870cb57SGreg V #define _LINUXKPI_ASM_NEON_H_ 30*8870cb57SGreg V 31*8870cb57SGreg V #define kernel_neon_begin() \ 32*8870cb57SGreg V lkpi_kernel_fpu_begin() 33*8870cb57SGreg V 34*8870cb57SGreg V #define kernel_neon_end() \ 35*8870cb57SGreg V lkpi_kernel_fpu_end() 36*8870cb57SGreg V 37*8870cb57SGreg V extern void lkpi_kernel_fpu_begin(void); 38*8870cb57SGreg V extern void lkpi_kernel_fpu_end(void); 39*8870cb57SGreg V 40*8870cb57SGreg V #endif /* _LINUXKPI_ASM_NEON_H_ */ 41