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
This commit is contained in:
ths 2007-09-28 18:45:59 +00:00
parent 198a74de4c
commit df0d373665
1 changed files with 5 additions and 0 deletions

View File

@ -21,4 +21,9 @@ typedef struct target_sigaltstack {
#define TARGET_MINSIGSTKSZ 2048
#define TARGET_SIGSTKSZ 8192
static inline target_ulong get_sp_from_cpustate(CPUPPCState *state)
{
return state->gpr[1];
}
#endif /* TARGET_SIGNAL_H */