diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2014-02-19 14:50:41 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-03-10 13:55:00 +0200 |
commit | cbc14e6f286169949105c10ec60c924e086521ad (patch) | |
tree | a3e2d7c3a871281302f57a5980250260b94c586c /linux-user/sparc64/syscall.h | |
parent | b51910baf227f0fd64abfa7ad6d8e00150a18194 (diff) | |
download | qemu-cbc14e6f286169949105c10ec60c924e086521ad.tar.gz qemu-cbc14e6f286169949105c10ec60c924e086521ad.tar.bz2 qemu-cbc14e6f286169949105c10ec60c924e086521ad.zip |
linux-user: set minimum kernel version to 2.6.32
Popular glibc based distributions[1] require minimum
2.6.32 as kernel version. For some targets 2.6.18
would be enough, but dropping so low would mean some
suboptimal system calls could get used.
Set the minimum kernel advertized to 2.6.32 for
all architectures but aarch64 to ensure working qemu
linux-user in case host kernel is older.
[1] https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/921078
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/sparc64/syscall.h')
-rw-r--r-- | linux-user/sparc64/syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/sparc64/syscall.h b/linux-user/sparc64/syscall.h index e60bf311c0..82b1680cb6 100644 --- a/linux-user/sparc64/syscall.h +++ b/linux-user/sparc64/syscall.h @@ -8,6 +8,7 @@ struct target_pt_regs { }; #define UNAME_MACHINE "sun4u" +#define UNAME_MINIMUM_RELEASE "2.6.32" /* SPARC kernels don't define this in their Kconfig, but they have the * same ABI as if they did, implemented by sparc-specific code which fishes |