Commit df0d37366561d8f23703cd7cf754fefde79e618c
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
Showing
1 changed file
with
5 additions
and
0 deletions
linux-user/ppc64/target_signal.h
@@ -21,4 +21,9 @@ typedef struct target_sigaltstack { | @@ -21,4 +21,9 @@ typedef struct target_sigaltstack { | ||
21 | #define TARGET_MINSIGSTKSZ 2048 | 21 | #define TARGET_MINSIGSTKSZ 2048 |
22 | #define TARGET_SIGSTKSZ 8192 | 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 | #endif /* TARGET_SIGNAL_H */ | 29 | #endif /* TARGET_SIGNAL_H */ |