diff options
author | Andreas Färber <afaerber@suse.de> | 2012-02-25 04:27:43 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:24 +0100 |
commit | c91dcf0b8157e40f1d51d9ad34c2724798137ec1 (patch) | |
tree | 12c89cd1ae4c15d72b54693918fbf5366a587c26 /darwin-user/signal.c | |
parent | 053902488581f504149e1507fe5328cfd57caa23 (diff) |
darwin-user: Don't overuse CPUState
Use CPU*State where applicable.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'darwin-user/signal.c')
-rw-r--r-- | darwin-user/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/signal.c b/darwin-user/signal.c index 317ef92168..8f9705d43c 100644 --- a/darwin-user/signal.c +++ b/darwin-user/signal.c @@ -315,7 +315,7 @@ get_sigframe(struct emulated_sigaction *ka, CPUX86State *env, size_t frame_size) } static void setup_frame(int sig, struct emulated_sigaction *ka, - void *set, CPUState *env) + void *set, CPUX86State *env) { void *frame; @@ -336,7 +336,7 @@ give_sigsegv: force_sig(SIGSEGV /* , current */); } -long do_sigreturn(CPUState *env, int num) +long do_sigreturn(CPUX86State *env, int num) { int i = 0; struct target_sigcontext *scp = get_int_arg(&i, env); |