[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/10] exec: remove unused variable
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PATCH 09/10] exec: remove unused variable |
Date: |
Tue, 14 Jun 2011 20:36:26 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
exec.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/exec.c b/exec.c
index 81808f4..b784f08 100644
--- a/exec.c
+++ b/exec.c
@@ -1207,12 +1207,16 @@ static inline void tb_alloc_page(TranslationBlock *tb,
unsigned int n, tb_page_addr_t page_addr)
{
PageDesc *p;
+#if !defined(CONFIG_USER_ONLY)
TranslationBlock *last_first_tb;
+#endif
tb->page_addr[n] = page_addr;
p = page_find_alloc(page_addr >> TARGET_PAGE_BITS, 1);
tb->page_next[n] = p->first_tb;
+#if !defined(CONFIG_USER_ONLY)
last_first_tb = p->first_tb;
+#endif
p->first_tb = (TranslationBlock *)((long)tb | n);
invalidate_page_bitmap(p);
--
1.7.5.53.gc233e
Re: [Qemu-devel] [PATCH 10/10] linux-user: remove unused variables, Michael S. Tsirkin, 2011/06/26
[Qemu-devel] [PATCH 08/10] alpha: remove unused variable, Michael S. Tsirkin, 2011/06/14
[Qemu-devel] [PATCH 09/10] exec: remove unused variable,
Michael S. Tsirkin <=