18870cb57SGreg V /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 38870cb57SGreg V * 40b453151SVal Packett * Copyright (c) 2022 Val Packett <val@packett.cool> 58870cb57SGreg V * 68870cb57SGreg V * Redistribution and use in source and binary forms, with or without 78870cb57SGreg V * modification, are permitted provided that the following conditions 88870cb57SGreg V * are met: 98870cb57SGreg V * 1. Redistributions of source code must retain the above copyright 108870cb57SGreg V * notice, this list of conditions and the following disclaimer. 118870cb57SGreg V * 2. Redistributions in binary form must reproduce the above copyright 128870cb57SGreg V * notice, this list of conditions and the following disclaimer in the 138870cb57SGreg V * documentation and/or other materials provided with the distribution. 148870cb57SGreg V * 158870cb57SGreg V * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 168870cb57SGreg V * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 178870cb57SGreg V * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 188870cb57SGreg V * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 198870cb57SGreg V * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 208870cb57SGreg V * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 218870cb57SGreg V * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 228870cb57SGreg V * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 238870cb57SGreg V * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 248870cb57SGreg V * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 258870cb57SGreg V * SUCH DAMAGE. 268870cb57SGreg V */ 278870cb57SGreg V 288870cb57SGreg V #ifndef _LINUXKPI_ASM_NEON_H_ 298870cb57SGreg V #define _LINUXKPI_ASM_NEON_H_ 308870cb57SGreg V 318870cb57SGreg V #define kernel_neon_begin() \ 328870cb57SGreg V lkpi_kernel_fpu_begin() 338870cb57SGreg V 348870cb57SGreg V #define kernel_neon_end() \ 358870cb57SGreg V lkpi_kernel_fpu_end() 368870cb57SGreg V 378870cb57SGreg V extern void lkpi_kernel_fpu_begin(void); 388870cb57SGreg V extern void lkpi_kernel_fpu_end(void); 398870cb57SGreg V 408870cb57SGreg V #endif /* _LINUXKPI_ASM_NEON_H_ */ 41