aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-27 23:25:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-27 23:25:41 +0000
commitc9087c2a6068b23207517f7d7ff796e68290358b (patch)
tree455b43b138335997580099710d1e2be4b3c11137 /linux-user
parent14ae3ba7f94f962669e3274cad28dcabb5185287 (diff)
cr2 update (dosemu VGA support fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@191 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 145dc29929..0601a34f0e 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -175,7 +175,7 @@ void signal_init(void)
act.sa_flags = SA_SIGINFO;
act.sa_sigaction = host_signal_handler;
for(i = 1; i < NSIG; i++) {
- sigaction(i, &act, NULL);
+ sigaction(i, &act, NULL);
}
memset(sigact_table, 0, sizeof(sigact_table));
@@ -547,7 +547,7 @@ setup_sigcontext(struct target_sigcontext *sc, struct target_fpstate *fpstate,
#endif
/* non-iBCS2 extensions.. */
err |= __put_user(mask, &sc->oldmask);
- err |= __put_user(/*current->thread.cr2*/ 0, &sc->cr2);
+ err |= __put_user(env->cr2, &sc->cr2);
return err;
}