aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2015-12-29 12:43:39 +0300
committerRiku Voipio <riku.voipio@linaro.org>2016-01-08 15:36:21 +0200
commit27e112f9fd0dcac6c3448f0c71db1b62f0589ffd (patch)
treefa2ad323082c5ac7f681562ca4c02e85d80f3241 /target-ppc
parente6deac9cf99e013a3e253aff2332836c86d8a52c (diff)
unicore32: convert get_sp_from_cpustate from macro to inline
All other architectures define get_sp_from_cpustate as an inline function, only unicore32 uses a #define. With this, some usages are impossible, for example, enabling sigaltstack in linux-user/syscall.c results in linux-user/syscall.c: In function ‘do_syscall’: linux-user/syscall.c:8299:39: error: dereferencing ‘void *’ pointer [-Werror] get_sp_from_cpustate(arg1, arg2, get_sp_from_cpustate((CPUArchState *)cpu_env)); ^ linux-user/syscall.c:8299:39: error: request for member ‘regs’ in something not a structure or union Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions