The VFP state should be copied to the child process during the fork()
system call. This is important because the d16-d31 registers are callee
saved and the compiler may use them for preserving data across function
calls.
Catalin Marinas (2):
ARM: Introduce THREAD_NOTIFY_COPY for copy_thread() hooks
ARM: Preserve the VFP state during fork
arch/arm/include/asm/thread_notify.h | 1 +
arch/arm/kernel/process.c | 2 ++
arch/arm/vfp/vfpmodule.c | 34 +++++++++++++++++++++++++++-------
3 files changed, 30 insertions(+), 7 deletions(-)
--
Catalin