[PATCH 0/2] Preserve the VFP state across the fork() call
Catalin Marinas
catalin.marinas at arm.com
Mon Feb 14 05:37:33 EST 2011
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
More information about the linux-arm-kernel
mailing list