Skip to contentSkip to conversation

translate-all: delete prototype for non-existent function

PATCH In review Paolo Bonzini 4 participants 4 messages Jun 1, 2015 – Jun 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 translate-all: delete prototype for non-existent function

---
 translate-all.h | 1 -
 1 file changed, 1 deletion(-)
translate-all.h +0 -1
index ef9166c..0384640 100644
@@ -24,7 +24,6 @@ void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len);
 void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
                                    int is_cpu_write_access);
 void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end);
-void cpu_unlink_tb(CPUState *cpu);
 void tb_check_watchpoint(CPUState *cpu);
 
 #ifdef CONFIG_USER_ONLY
Signature · 1 line
2.4.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Paolo Bonzini
Quoted 1 line · Paolo Bonzini

[pcrost@xsjsorenbubuntu qemu-mainline]$ git grep cpu_unlink_tb translate-all.h:24:void cpu_unlink_tb(CPUState *cpu);

Quoted 20 lines
---
 translate-all.h | 1 -
 1 file changed, 1 deletion(-)
translate-all.h +0 -2
index ef9166c..0384640 100644
@@ -24,7 +24,6 @@ void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len);
 void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
                                    int is_cpu_write_access);
 void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end);
-void cpu_unlink_tb(CPUState *cpu);
 void tb_check_watchpoint(CPUState *cpu);
 
 #ifdef CONFIG_USER_ONLY
--

2.4.1

#3 lore raw
In reply to Paolo Bonzini
Quoted 10 lines · Paolo Bonzini
---
 translate-all.h | 1 -
 1 file changed, 1 deletion(-)
translate-all.h +0 -0
index ef9166c..0384640 100644

translate-all.h void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len); · line 29

Quoted 7 lines
translate-all.h +0 -1
@@ -24,7 +24,6 @@ void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len);
 void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
                                    int is_cpu_write_access);
 void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end);
-void cpu_unlink_tb(CPUState *cpu);
 void tb_check_watchpoint(CPUState *cpu);
 
 #ifdef CONFIG_USER_ONLY

Hmm. This does not apply due to context, my version of translate-all.h is very short, without tb_invalidate_phys_page_range prototype and without ifdef CONFIG_USER_ONLY, and after this prototype removal it contains just 3 prototypes.

I reduced this to just the one-line removal and applied, and git pull should do the right thing too.

Thanks,

/mjt