Commit cbc14e6f authored by Riku Voipio's avatar Riku Voipio
Browse files

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: default avatarRiku Voipio <riku.voipio@linaro.org>
parent b51910ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ struct target_pt_regs {
};

#define UNAME_MACHINE "alpha"
#define UNAME_MINIMUM_RELEASE "2.6.32"

#undef TARGET_EDEADLK
#define TARGET_EDEADLK		11
+1 −0
Original line number Diff line number Diff line
@@ -40,5 +40,6 @@ struct target_pt_regs {
#else
#define UNAME_MACHINE "armv5tel"
#endif
#define UNAME_MINIMUM_RELEASE "2.6.32"

#define TARGET_CLONE_BACKWARDS
+1 −1
Original line number Diff line number Diff line
#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
+1 −0
Original line number Diff line number Diff line
@@ -144,5 +144,6 @@ struct target_vm86plus_struct {
};

#define UNAME_MACHINE "i686"
#define UNAME_MINIMUM_RELEASE "2.6.32"

#define TARGET_CLONE_BACKWARDS
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ struct target_pt_regs {
    uint16_t __fill;
};


#define UNAME_MACHINE "m68k"
#define UNAME_MINIMUM_RELEASE "2.6.32"

void do_m68k_simcall(CPUM68KState *, int);
Loading