Revision da79030f linux-user/syscall.c
b/linux-user/syscall.c | ||
---|---|---|
82 | 82 |
#include <linux/fb.h> |
83 | 83 |
#include <linux/vt.h> |
84 | 84 |
#include "linux_loop.h" |
85 |
#include "cpu-uname.h" |
|
85 | 86 |
|
86 | 87 |
#include "qemu.h" |
87 | 88 |
#include "qemu-common.h" |
... | ... | |
5739 | 5740 |
if (!is_error(ret)) { |
5740 | 5741 |
/* Overrite the native machine name with whatever is being |
5741 | 5742 |
emulated. */ |
5742 |
strcpy (buf->machine, UNAME_MACHINE);
|
|
5743 |
strcpy (buf->machine, cpu_to_uname_machine(cpu_env));
|
|
5743 | 5744 |
/* Allow the user to override the reported release. */ |
5744 | 5745 |
if (qemu_uname_release && *qemu_uname_release) |
5745 | 5746 |
strcpy (buf->release, qemu_uname_release); |
Also available in: Unified diff