diff options
Diffstat (limited to 'linux-user/ppc/target_signal.h')
| -rw-r--r-- | linux-user/ppc/target_signal.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/linux-user/ppc/target_signal.h b/linux-user/ppc/target_signal.h index e3bf1d2856..4453e2e7ef 100644 --- a/linux-user/ppc/target_signal.h +++ b/linux-user/ppc/target_signal.h @@ -1,8 +1,6 @@ #ifndef PPC_TARGET_SIGNAL_H #define PPC_TARGET_SIGNAL_H -#include "cpu.h" - /* this struct defines a stack used during syscall handling */ typedef struct target_sigaltstack { @@ -21,10 +19,7 @@ typedef struct target_sigaltstack { #define TARGET_MINSIGSTKSZ 2048 #define TARGET_SIGSTKSZ 8192 -static inline abi_ulong get_sp_from_cpustate(CPUPPCState *state) -{ - return state->gpr[1]; -} +#include "../generic/signal.h" #if !defined(TARGET_PPC64) #define TARGET_ARCH_HAS_SETUP_FRAME |