summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorMichael Tokarev2015-12-29 10:39:44 +0100
committerMichael Tokarev2016-01-10 08:25:38 +0100
commit6e502164618ea23f6351b5055296180c8672cad9 (patch)
tree045faa65f6480a7ffaeab13e681a5cfe36542da7 /include/exec/exec-all.h
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160108-1' into st... (diff)
downloadqemu-6e502164618ea23f6351b5055296180c8672cad9.tar.gz
qemu-6e502164618ea23f6351b5055296180c8672cad9.tar.xz
qemu-6e502164618ea23f6351b5055296180c8672cad9.zip
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> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions