target-i386: Move TCG initialization check to tcg_x86_init()
commit4fe15cdedf8728e58b8e475f8b1a26fb16aa9caa
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 5 Mar 2015 16:43:16 +0000 (5 13:43 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 May 2016 22:47:37 +0000 (23 19:47 -0300)
tree2ae0b33d184ac1276c98b2bcc810e0eed73d357a
parent3e2c0e062f0963a6b73b0cd1990fad79495463d9
target-i386: Move TCG initialization check to tcg_x86_init()

Instead of requiring cpu.c to check if TCG was already initialized,
simply let the function be called multiple times.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c
target-i386/translate.c