aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/arm-ARM-EABI-socketcall.patch
blob: a24b87670f5659fe10aad1153bb99c1bf2bed9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 1f05ef36493eb57d2b7bc4201b6bc105869ea702 Mon Sep 17 00:00:00 2001
From: Mark Asselstine <mark.asselstine@windriver.com>
Date: Tue, 15 Jul 2008 15:49:27 -0400
Subject: [PATCH] arm: ARM EABI socketcall

This patch make that the sys_socketcall system call is available when
EABI is used. The reason is that the user-space applications in both
glibc_std rootfs and glibc_small rootfs are still using sys_socketcall
to request kernel service.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 arch/arm/kernel/entry-common.S | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
index eb5cd77bf1d8..41021ceedca4 100644
--- a/arch/arm/kernel/entry-common.S
+++ b/arch/arm/kernel/entry-common.S
@@ -316,7 +316,8 @@ ENTRY(\sym)
  */
 	syscall_table_start sys_call_table
 #define COMPAT(nr, native, compat) syscall nr, native
-#ifdef CONFIG_AEABI
+
+#if defined(CONFIG_AEABI) && !defined(CONFIG_OABI_COMPAT)
 #include <calls-eabi.S>
 #else
 #include <calls-oabi.S>
-- 
2.5.0