diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2017-08-07 12:36:35 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-08-07 12:36:35 +0100 |
commit | 11cefd5ac25f242349994140a3bce3a20db0c751 (patch) | |
tree | 6157945ff39c363906013d3d9904e1423617aed6 /arch/arm64/kernel/fpsimd.c | |
parent | 174dfb12860eac361f3ced9fefb51393fec5bd32 (diff) | |
download | linux-stable-11cefd5ac25f242349994140a3bce3a20db0c751.tar.gz linux-stable-11cefd5ac25f242349994140a3bce3a20db0c751.tar.bz2 linux-stable-11cefd5ac25f242349994140a3bce3a20db0c751.zip |
arm64: neon: Export kernel_neon_busy to loadable modules
may_use_simd() can be invoked from loadable modules and it accesses
kernel_neon_busy. Make sure that the latter is exported.
Fixes: cb84d11e1625 ("arm64: neon: Remove support for nested or hardirq kernel-mode NEON")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/fpsimd.c')
-rw-r--r-- | arch/arm64/kernel/fpsimd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c index 138fcfaeadc1..9da4e636b328 100644 --- a/arch/arm64/kernel/fpsimd.c +++ b/arch/arm64/kernel/fpsimd.c @@ -255,6 +255,7 @@ void fpsimd_flush_task_state(struct task_struct *t) #ifdef CONFIG_KERNEL_MODE_NEON DEFINE_PER_CPU(bool, kernel_neon_busy); +EXPORT_PER_CPU_SYMBOL(kernel_neon_busy); /* * Kernel-side NEON support functions |