]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/translate.c
target-i386: Remove confusing X86_64_DEF macro
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Jul 2012 21:28:59 +0000 (22:28 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 7 Jul 2012 09:05:54 +0000 (09:05 +0000)
commit96d7073fb058e6f05257cd9041ffbbd736f6ccec
tree6684fc3a93a3b5654bd8f80266aa108a27e8d3cf
parenta87dacc89ad7a033578851ca5e0b7525968dbc1c
target-i386: Remove confusing X86_64_DEF macro

The X86_64_DEF macro is a confusing way of making some terms
in a conditional only appear if TARGET_X86_64 is defined. We
only use it in two places, and in both cases this is for making
the same test, so abstract that check out into a function
where we can use a more conventional #ifdef.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-i386/translate.c