diff options
| author | Michael Tokarev | 2015-12-29 10:43:39 +0100 |
|---|---|---|
| committer | Riku Voipio | 2016-01-08 14:36:21 +0100 |
| commit | 27e112f9fd0dcac6c3448f0c71db1b62f0589ffd (patch) | |
| tree | fa2ad323082c5ac7f681562ca4c02e85d80f3241 /include | |
| parent | linux-user/mmap.c: Always zero MAP_ANONYMOUS memory in mmap_frag() (diff) | |
| download | qemu-27e112f9fd0dcac6c3448f0c71db1b62f0589ffd.tar.gz qemu-27e112f9fd0dcac6c3448f0c71db1b62f0589ffd.tar.xz qemu-27e112f9fd0dcac6c3448f0c71db1b62f0589ffd.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>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
