summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-09-21 18:13:16 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-10-01 09:31:43 +0000
commit3917149d96cfa5f619de770af6059f37b6e1df77 (patch)
tree5ab453462b2547211575129d051bd14ddc422396 /exec.c
parentbccd9ec5f098668576342c83d90d6d6833d61d33 (diff)
downloadqemu-3917149d96cfa5f619de770af6059f37b6e1df77.tar.gz
qemu-3917149d96cfa5f619de770af6059f37b6e1df77.tar.bz2
qemu-3917149d96cfa5f619de770af6059f37b6e1df77.zip
Move GETPC from dyngen-exec.h to exec-all.h
GETPC() can be used even from outside of helper code. Move the macro to a more accessible location. Avoid a compile warning from redefining it in exec.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 1e6f732d1d..d0cbf15822 100644
--- a/exec.c
+++ b/exec.c
@@ -4763,6 +4763,7 @@ void dump_exec_info(FILE *f, fprintf_function cpu_fprintf)
}
#define MMUSUFFIX _cmmu
+#undef GETPC
#define GETPC() NULL
#define env cpu_single_env
#define SOFTMMU_CODE_ACCESS