summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/fpu.h
blob: 2ae50bdce59b43c7e15185de06ffce6c3ada27b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2023 SiFive
 */

#ifndef __ASM_FPU_H
#define __ASM_FPU_H

#include <asm/neon.h>

#define kernel_fpu_available()	cpu_has_neon()
#define kernel_fpu_begin()	kernel_neon_begin()
#define kernel_fpu_end()	kernel_neon_end()

#endif /* ! __ASM_FPU_H */