aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-27 16:44:32 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-27 16:44:32 +0000
commit198a74de4c61d3486c365f09361c605daab90af5 (patch)
treeb518f4236b5689bc1c4b3f405e3019901aa34a8c /target-i386
parenta04e134ad1f4271bea2c7b7649b21e35ded91005 (diff)
Move get_sp_from_cpustate from cpu.h to target_signal.h.
Enable sigaltstack processing for more architectures. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3253 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 4f454c6e9e..2cc7d64e95 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -688,11 +688,6 @@ static inline int cpu_get_time_fast(void)
#define cpu_gen_code cpu_x86_gen_code
#define cpu_signal_handler cpu_x86_signal_handler
-static inline target_ulong get_sp_from_cpustate(CPUX86State *state)
-{
- return state->regs[R_ESP];
-}
-
#include "cpu-all.h"
#include "svm.h"