aboutsummaryrefslogtreecommitdiff
path: root/dump-stub.c
diff options
context:
space:
mode:
authorSamuel Seay <lightningth@gmail.com>2013-01-02 10:53:46 +0000
committerAlexander Graf <agraf@suse.de>2013-01-07 17:37:09 +0100
commitbeb526b12134a6b6744125deec5a7fe24a8f92e3 (patch)
tree3c49eb13f965e3308a841d39d4fa8b9e586efa3d /dump-stub.c
parent88a78d9093917096feffeba66802be27d0e64ead (diff)
PPC: fix segfault in signal handling code
Removed h2g() macro around the ka->_sa_handler due to the _sa_handler being a guest memory address. Changed the __put_user to put_user as it was attempting to put a value at the stack address but the new address is a guest memory address, __put_user is for host memory addresses. Signed-off-by: Samuel Seay <LightningTH@GMail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [agraf: change subject line, reformat commit message] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'dump-stub.c')
0 files changed, 0 insertions, 0 deletions