]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Clean up copy_to/from_user for vsx and fpr
authorMichael Neuling <mikey@neuling.org>
Wed, 2 Jul 2008 04:06:37 +0000 (14:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 3 Jul 2008 06:58:11 +0000 (16:58 +1000)
commit56bd59254e63df7cbbd7d3634585eefc6840b6a6
tree1bad45a11c1e436ffbcb84107783da0e423925f9
parentdc6133e235260bc0840c19f3176a3c81bd1cd78d
powerpc: Clean up copy_to/from_user for vsx and fpr

This merges and cleans up some of the ugly copy/to from user code
which is required for the new fpr and vsx layout in the thread_struct.

Also fixes some hard coded buffer sizes and removes a redundant
fpr_flush_to_thread.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/signal.h
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c