api.h 447 B

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