diff options
author | 2005-09-10 16:01:07 +1000 | |
---|---|---|
committer | 2005-09-12 17:19:11 +1000 | |
commit | 962bca7f389229a30ced441d7b37f55f203006a2 (patch) | |
tree | 9824ae5b923a477fb4a671eda60822f80610861e /lib/dec_and_lock.c | |
parent | ppc64: Set up PCI tree from Open Firmware device tree (diff) | |
download | wireguard-linux-962bca7f389229a30ced441d7b37f55f203006a2.tar.xz wireguard-linux-962bca7f389229a30ced441d7b37f55f203006a2.zip |
[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 <rcjenn@austin.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions