diff options
author | Andreas Färber <afaerber@suse.de> | 2013-09-01 17:12:23 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:20:48 +0100 |
commit | 239c51a54fe2a1ffc5108f496caae79e5be0cabc (patch) | |
tree | 44c1e97b13e0e6bfb270b598c92f56758ecbfc6d /translate-all.c | |
parent | 74f10515d1b6e6064e4161157f8c98095c49065f (diff) |
translate-all: Change tb_check_watchpoint() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c index adcef83490..82d5fa40b3 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1371,9 +1371,9 @@ void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr) } #endif /* TARGET_HAS_ICE && !defined(CONFIG_USER_ONLY) */ -void tb_check_watchpoint(CPUArchState *env) +void tb_check_watchpoint(CPUState *cpu) { - CPUState *cpu = ENV_GET_CPU(env); + CPUArchState *env = cpu->env_ptr; TranslationBlock *tb; tb = tb_find_pc(cpu->mem_io_pc); |