aboutsummaryrefslogtreecommitdiff
path: root/linux-user/cris
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-02-19 14:50:41 +0200
committerRiku Voipio <riku.voipio@linaro.org>2014-03-10 13:55:00 +0200
commitcbc14e6f286169949105c10ec60c924e086521ad (patch)
treea3e2d7c3a871281302f57a5980250260b94c586c /linux-user/cris
parentb51910baf227f0fd64abfa7ad6d8e00150a18194 (diff)
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/cris')
-rw-r--r--linux-user/cris/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/cris/syscall.h b/linux-user/cris/syscall.h
index 832ee64bd8..f5783c0557 100644
--- a/linux-user/cris/syscall.h
+++ b/linux-user/cris/syscall.h
@@ -1,8 +1,8 @@
#ifndef CRIS_SYSCALL_H
#define CRIS_SYSCALL_H 1
-
#define UNAME_MACHINE "cris"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
/* pt_regs not only specifices the format in the user-struct during
* ptrace but is also the frame format used in the kernel prologue/epilogues