mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Include linux/types.h before using bool. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202505070045.vWc04ygs-lkp@intel.com/ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
22 lines
473 B
C
22 lines
473 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef _ASM_UM_FPU_API_H
|
|
#define _ASM_UM_FPU_API_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
/* Copyright (c) 2020 Cambridge Greys Ltd
|
|
* Copyright (c) 2020 Red Hat Inc.
|
|
* A set of "dummy" defines to allow the direct inclusion
|
|
* of x86 optimized copy, xor, etc routines into the
|
|
* UML code tree. */
|
|
|
|
#define kernel_fpu_begin() (void)0
|
|
#define kernel_fpu_end() (void)0
|
|
|
|
static inline bool irq_fpu_usable(void)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
|
|
#endif
|