]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/uname: Return correct uname string for x86_64
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 10 May 2014 11:25:53 +0000 (12:25 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 17 Jun 2014 06:21:40 +0000 (09:21 +0300)
commit4d13be8b8b817cbca7db2f880628d7ae5b74799f
tree559c60f1214157c44fa09f1d8174835f6ceb9135
parenta42267ef58c4fcc9c9863f37dbe4cdbf887f8a7d
linux-user/uname: Return correct uname string for x86_64

We were returning the incorrect uname string (with a hyphen, not
an underscore) for x86_64. Fix this by removing the x86_64 special
case, since the default "just use UNAME_MACHINE" behaviour suffices.
This leaves cpu_to_uname_machine() special cases for only those
architectures which need to vary the string based on runtime CPU
features.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/uname.c