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)
commit6a274c08f2f4dfac7167bbd849621f3a2b55d424
tree1bad45a11c1e436ffbcb84107783da0e423925f9
parent2d1b2027626d5151fff8ef7c06ca8e7876a1a510
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