android_kernel_xiaomi_sm8350/arch/arm/vfp
Russell King 0d782dc430 ARM: VFP: fix vfp thread init bug and document vfp notifier entry conditions
When the VFP notifier is called for flush_thread(), we may be
preemptible, meaning we might migrate to another CPU, which means
referencing the current CPU number without some form of locking is
invalid, and can cause data corruption.

For the most cases, this isn't a problem since atomic notifiers are run
under rcu lock, which for most configurations results in preemption
being disabled - except when the preemptable tree-based rcu
implementation is selected.

Let's make it safe anyway.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-12-13 16:33:19 +00:00
..
entry.S Thumb-2: Add some .align statements to the .S files 2009-07-24 12:32:52 +01:00
Makefile
vfp.h [ARM] 5387/1: Add ptrace VFP support on ARM 2009-02-12 10:59:43 +00:00
vfpdouble.c
vfphw.S Thumb-2: Implement the unified VFP support 2009-07-24 12:32:57 +01:00
vfpinstr.h
vfpmodule.c ARM: VFP: fix vfp thread init bug and document vfp notifier entry conditions 2009-12-13 16:33:19 +00:00
vfpsingle.c