]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-i386: Make TCG feature filtering more readable
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 30 Apr 2014 16:48:33 +0000 (13:48 -0300)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Jun 2014 16:04:15 +0000 (18:04 +0200)
commita42d9938a162c3e3c9e441d1927dca5bd59167d9
tree2a4eaa3204d32b1291183fc924111caa75a90286
parent27418adf32b9cd164d464fffc4fc0505d6b2b15d
target-i386: Make TCG feature filtering more readable

Instead of an #ifdef in the middle of the code, just set
TCG_EXT2_FEATURES to a different value depending on TARGET_X86_64.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c