summaryrefslogtreecommitdiffstats
path: root/linux-user/microblaze
diff options
context:
space:
mode:
authorRiku Voipio2014-02-19 13:50:41 +0100
committerRiku Voipio2014-03-10 12:55:00 +0100
commitcbc14e6f286169949105c10ec60c924e086521ad (patch)
treea3e2d7c3a871281302f57a5980250260b94c586c /linux-user/microblaze
parentlinux-user: correct handling of break exception for MIPS (diff)
downloadqemu-cbc14e6f286169949105c10ec60c924e086521ad.tar.gz
qemu-cbc14e6f286169949105c10ec60c924e086521ad.tar.xz
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/microblaze')
-rw-r--r--linux-user/microblaze/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/microblaze/syscall.h b/linux-user/microblaze/syscall.h
index d550989d5e..5b5f6b447d 100644
--- a/linux-user/microblaze/syscall.h
+++ b/linux-user/microblaze/syscall.h
@@ -1,8 +1,8 @@
#ifndef MICROBLAZE_SYSCALLS_H
#define MICROBLAZE_SYSCALLS_H 1
-
#define UNAME_MACHINE "microblaze"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
/* We use microblaze_reg_t to keep things similar to the kernel sources. */
typedef uint32_t microblaze_reg_t;