From: Robert Jennings Date: Sat, 10 Sep 2005 06:01:07 +0000 (+1000) Subject: [PATCH] ppc64: Add PTRACE_{GET|SET}VRREGS X-Git-Tag: v2.6.14-rc1~90^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=962bca7f389229a30ced441d7b37f55f203006a2;p=pandora-kernel.git [PATCH] ppc64: Add PTRACE_{GET|SET}VRREGS The ptrace get and set methods for VMX/Altivec registers present in the ppc tree were missing for ppc64. This patch adds the 32-bit and 64-bit methods. Updated with the suggestions from Anton following the lines of his code snippet. Added: - flush_altivec_to_thread calls as suggested by Anton - piecewise copy of structure to preserve 32-bit vrsave data as per Anton (I consolidated the 32 and 64bit versions with 2 helper macros - Anton) Signed-off-by: Robert C Jennings Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed