Ard Biesheuvel | 4cfb361 | 2013-07-09 14:18:12 +0100 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm64/include/asm/neon.h |
| 3 | * |
| 4 | * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org> |
| 5 | * |
| 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 | */ |
| 10 | |
Ard Biesheuvel | 190f1ca | 2014-02-24 15:26:29 +0100 | [diff] [blame] | 11 | #include <linux/types.h> |
| 12 | |
Ard Biesheuvel | 4cfb361 | 2013-07-09 14:18:12 +0100 | [diff] [blame] | 13 | #define cpu_has_neon() (1) |
| 14 | |
Ard Biesheuvel | 190f1ca | 2014-02-24 15:26:29 +0100 | [diff] [blame] | 15 | #define kernel_neon_begin() kernel_neon_begin_partial(32) |
| 16 | |
| 17 | void kernel_neon_begin_partial(u32 num_regs); |
Ard Biesheuvel | 4cfb361 | 2013-07-09 14:18:12 +0100 | [diff] [blame] | 18 | void kernel_neon_end(void); |