This patch adds the missing get_sp_from_cpustate() for m68k.
Index: qemu/linux-user/m68k/target_signal.h
===================================================================
--- qemu.orig/linux-user/m68k/target_signal.h	2007-12-11 10:33:23.000000000 -0700
+++ qemu/linux-user/m68k/target_signal.h	2007-12-11 10:33:54.000000000 -0700
@@ -21,4 +21,9 @@
 #define TARGET_MINSIGSTKSZ	2048
 #define TARGET_SIGSTKSZ	8192
 
+static inline abi_ulong get_sp_from_cpustate(CPUM68KState *state)
+{
+    return state->aregs[7];
+}
+
 #endif /* TARGET_SIGNAL_H */

Reply via email to