summaryrefslogtreecommitdiff
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-02-27 18:23:27 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-27 20:00:25 +0530
commit17139053eb96bc09a6d6248aae17c9316f5bcd86 (patch)
treea0dcb5245b3401a4aa879b05228d6a6930dd5932 /arch/arc/kernel
parent5dc99e50d2d66f8ddeb4e20af1908ad99db0cb98 (diff)
ARC: Fixup the current ABI version
The upstream kernel ABI (v3) is different from current out-of-tree (v2): * no-legacy-syscalls * user_regs_struct layout has changed So we rev up the ABI version Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/process.c b/arch/arc/kernel/process.c
index 279e080b6b54..0a7531d99294 100644
--- a/arch/arc/kernel/process.c
+++ b/arch/arc/kernel/process.c
@@ -224,7 +224,7 @@ int elf_check_arch(const struct elf32_hdr *x)
return 0;
eflags = x->e_flags;
- if ((eflags & EF_ARC_OSABI_MSK) < EF_ARC_OSABI_V2) {
+ if ((eflags & EF_ARC_OSABI_MSK) < EF_ARC_OSABI_CURRENT) {
pr_err("ABI mismatch - you need newer toolchain\n");
force_sigsegv(SIGSEGV, current);
return 0;