]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tcg: Fix compilation without TCG
authorJuan Quintela <quintela@redhat.com>
Wed, 22 Nov 2017 08:41:57 +0000 (09:41 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Nov 2017 10:02:44 +0000 (10:02 +0000)
Commit 27266271977c started to use tb_unlock() and tlb_set_dirty() on
non TCG code.  Add the functions as stubs, so that builds with TCG
disabled continue to compile.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
accel/stubs/tcg-stub.c

index 5dd480b1a29947c608a820d00fb128ead5dfea3f..ee575a87186b0949438e5d82cf1ad1f6d45b2e98 100644 (file)
 void tb_flush(CPUState *cpu)
 {
 }
+
+void tb_unlock(void)
+{
+}
+
+void tlb_set_dirty(CPUState *cpu, target_ulong vaddr)
+{
+}