diff options
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers/hayes-gone.patch | 28 | ||||
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers/ppc_glibc_build_fix.patch | 25 |
2 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/hayes-gone.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/hayes-gone.patch new file mode 100644 index 0000000000..719c320202 --- /dev/null +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/hayes-gone.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | # 2.6.33 deleted the Hayes esp driver, so the ioctls to get and set its | ||
2 | # configuration are no longer needed, and they break setserial by making it | ||
3 | # believe that it should compile in the code that supports this modem. | ||
4 | |||
5 | 2010/06/16 | ||
6 | Created-by: Jeff Dike <jdike@linux.intel.com> | ||
7 | |||
8 | Index: linux-2.6.34/include/asm-generic/ioctls.h | ||
9 | =================================================================== | ||
10 | --- linux-2.6.34.orig/include/asm-generic/ioctls.h | ||
11 | +++ linux-2.6.34/include/asm-generic/ioctls.h | ||
12 | @@ -86,16 +86,6 @@ | ||
13 | #define TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */ | ||
14 | #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ | ||
15 | |||
16 | -/* | ||
17 | - * some architectures define FIOQSIZE as 0x545E, which is used for | ||
18 | - * TIOCGHAYESESP on others | ||
19 | - */ | ||
20 | -#ifndef FIOQSIZE | ||
21 | -# define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */ | ||
22 | -# define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ | ||
23 | -# define FIOQSIZE 0x5460 | ||
24 | -#endif | ||
25 | - | ||
26 | /* Used for packet mode */ | ||
27 | #define TIOCPKT_DATA 0 | ||
28 | #define TIOCPKT_FLUSHREAD 1 | ||
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/ppc_glibc_build_fix.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/ppc_glibc_build_fix.patch new file mode 100644 index 0000000000..81fa5ce8c9 --- /dev/null +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/ppc_glibc_build_fix.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | stdint.h has C definitions which troubles assembler. and if asm/ptrace.h | ||
2 | is included in assembler context, then it should not include the | ||
3 | C-specific stdint.h file. | ||
4 | This was causing glibc building issue on ppc. | ||
5 | Looks like this issue is introduced on the 2.6.34 kernel. | ||
6 | |||
7 | 2010-06-024 | ||
8 | Signed-Off-By:Nitin A Kamble <nitin.a.kamble@intel.com> | ||
9 | Acked-By:Jeff Dike <jdike@linux.intel.com> | ||
10 | |||
11 | Index: linux-2.6.34/arch/powerpc/include/asm/ptrace.h | ||
12 | =================================================================== | ||
13 | --- linux-2.6.34.orig/arch/powerpc/include/asm/ptrace.h | ||
14 | +++ linux-2.6.34/arch/powerpc/include/asm/ptrace.h | ||
15 | @@ -27,8 +27,10 @@ | ||
16 | #ifdef __KERNEL__ | ||
17 | #include <linux/types.h> | ||
18 | #else | ||
19 | +#ifndef __ASSEMBLY__ | ||
20 | #include <stdint.h> | ||
21 | #endif | ||
22 | +#endif | ||
23 | |||
24 | #ifndef __ASSEMBLY__ | ||
25 | |||