1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _ASM_UM_FPU_API_H
3 #define _ASM_UM_FPU_API_H
5 /* Copyright (c) 2020 Cambridge Greys Ltd
6 * Copyright (c) 2020 Red Hat Inc.
7 * A set of "dummy" defines to allow the direct inclusion
8 * of x86 optimized copy, xor, etc routines into the
11 #define kernel_fpu_begin() (void)0
12 #define kernel_fpu_end() (void)0
14 static inline bool irq_fpu_usable(void)