aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2015-03-21 13:29:09 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-04 09:45:59 +0300
commit9c04146ad4696b20c440bfbb4a6ab27ea254e7ca (patch)
treed5fcc05e764523e06bf51550e487603304fdcd15 /translate-all.c
parentecf2e5a46d7559f258a2c914131ba25d3c5326bf (diff)
downloadqemu-arm-9c04146ad4696b20c440bfbb4a6ab27ea254e7ca.tar.gz
target-i386: remove superfluous TARGET_HAS_SMC macro
Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/translate-all.c b/translate-all.c
index 9f47ce7f71..11763c6c3a 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -1334,8 +1334,6 @@ static inline void tb_alloc_page(TranslationBlock *tb,
p->first_tb = (TranslationBlock *)((uintptr_t)tb | n);
invalidate_page_bitmap(p);
-#if defined(TARGET_HAS_SMC) || 1
-
#if defined(CONFIG_USER_ONLY)
if (p->flags & PAGE_WRITE) {
target_ulong addr;
@@ -1371,8 +1369,6 @@ static inline void tb_alloc_page(TranslationBlock *tb,
tlb_protect_code(page_addr);
}
#endif
-
-#endif /* TARGET_HAS_SMC */
}
/* add a new TB and link it to the physical page tables. phys_page2 is