Commit df0d37366561d8f23703cd7cf754fefde79e618c

Authored by ths
1 parent 198a74de

Build fix, ppc64 needs also a get_sp_from_cpustate function now.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3254 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/ppc64/target_signal.h
... ... @@ -21,4 +21,9 @@ typedef struct target_sigaltstack {
21 21 #define TARGET_MINSIGSTKSZ 2048
22 22 #define TARGET_SIGSTKSZ 8192
23 23  
  24 +static inline target_ulong get_sp_from_cpustate(CPUPPCState *state)
  25 +{
  26 + return state->gpr[1];
  27 +}
  28 +
24 29 #endif /* TARGET_SIGNAL_H */
... ...