diff options
Diffstat (limited to 'meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch')
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch deleted file mode 100644 index 1b207b3cd9..0000000000 --- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From: Nicolas Pitre <nico@cam.org> | ||
2 | Date: Sat, 15 Apr 2006 15:10:43 +0000 (+0100) | ||
3 | Subject: [ARM] 3477/1: ARM EABI: undefine removed syscalls | ||
4 | X-Git-Url: http://git.infradead.org/?p=mtd-2.6.git;a=commitdiff;h=463b158aab247b600e4e93614b7b8f42a66331c9 | ||
5 | |||
6 | [ARM] 3477/1: ARM EABI: undefine removed syscalls | ||
7 | |||
8 | Patch from Nicolas Pitre | ||
9 | |||
10 | Avoid confusion for libraries assuming that a given syscall is available | ||
11 | when corresponding symbol is defined. | ||
12 | |||
13 | Signed-off-by: Nicolas Pitre <nico@cam.org> | ||
14 | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
15 | --- | ||
16 | |||
17 | --- a/include/asm-arm/unistd.h | ||
18 | +++ b/include/asm-arm/unistd.h | ||
19 | @@ -360,6 +360,24 @@ | ||
20 | #define __ARM_NR_usr32 (__ARM_NR_BASE+4) | ||
21 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) | ||
22 | |||
23 | +/* | ||
24 | + * The following syscalls are obsolete and no longer available for EABI. | ||
25 | + */ | ||
26 | +#if defined(__ARM_EABI__) | ||
27 | +#undef __NR_time | ||
28 | +#undef __NR_umount | ||
29 | +#undef __NR_stime | ||
30 | +#undef __NR_alarm | ||
31 | +#undef __NR_utime | ||
32 | +#undef __NR_getrlimit | ||
33 | +#undef __NR_select | ||
34 | +#undef __NR_readdir | ||
35 | +#undef __NR_mmap | ||
36 | +#undef __NR_socketcall | ||
37 | +#undef __NR_syscall | ||
38 | +#undef __NR_ipc | ||
39 | +#endif | ||
40 | + | ||
41 | #define __sys2(x) #x | ||
42 | #define __sys1(x) __sys2(x) | ||
43 | |||