summaryrefslogtreecommitdiff
path: root/cputlb.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-02-20 19:42:53 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-02-21 10:39:10 +0000
commit774d566cdbebb916af9760dac629aa7c1adf9d3d (patch)
tree3b4f5fec2d8742be83f12052dfcbcdf52bf8614f /cputlb.c
parent2ca92bb993991d6dcb8f68751aca9fc2ec2b8867 (diff)
downloadqemu-774d566cdbebb916af9760dac629aa7c1adf9d3d.tar.gz
tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32)
Win32 doesn't have a cpuid.h, and MacOSX may have one but without the __cpuid() function we use, which means that commit 9d2eec20 broke the build for those platforms. Fix this by tightening up our configure cpuid.h check to test that the functions we need are present, and adding some missing #ifdef guards in tcg/i386/tcg-target.c. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'cputlb.c')
0 files changed, 0 insertions, 0 deletions