Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm64 / include / asm / neon.h
blobf922eaf780f9be5c4863170efda01ae64d0ce77e
1 /*
2 * linux/arch/arm64/include/asm/neon.h
4 * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __ASM_NEON_H
12 #define __ASM_NEON_H
14 #include <linux/types.h>
15 #include <asm/fpsimd.h>
17 #define cpu_has_neon() system_supports_fpsimd()
19 void kernel_neon_begin(void);
20 void kernel_neon_end(void);
23 * Temporary macro to allow the crypto code to compile. Note that the
24 * semantics of kernel_neon_begin_partial() are now different from the
25 * original as it does not allow being called in an interrupt context.
27 #define kernel_neon_begin_partial(num_regs) kernel_neon_begin()
29 #endif /* ! __ASM_NEON_H */