tcg: Fix compilation without TCG
commit8f2c4cbc76cd37c22d0ed9a23b833690e6c405b2
authorJuan Quintela <quintela@redhat.com>
Wed, 22 Nov 2017 08:41:57 +0000 (22 09:41 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Nov 2017 10:02:44 +0000 (23 10:02 +0000)
tree614b565f8a11361345077550a21de07df8d6a85f
parenta15d835f00dce270fd3194e83d9910f4b5b44ac0
tcg: Fix compilation without TCG

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