]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6868/1: Preserve the VFP state during fork
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Apr 2011 15:17:17 +0000 (16:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 10 Apr 2011 20:13:37 +0000 (21:13 +0100)
commite179cf4e4d4d95dfe2d5bcc3e33d229776222df9
tree1f453c19ae8f6e3f1f322534d704355dfb32bbdd
parent4fa28420b669b437f1a092546881f40b546d47ed
ARM: 6868/1: Preserve the VFP state during fork

VFP registers d16-d31 are callee saved registers and must be preserved
during function calls, including fork(). The VFP configuration should
also be preserved. The patch copies the full VFP state to the child
process.

Reported-by: Paul Wright <paul.wright@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpmodule.c