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 @@ +# 2.6.33 deleted the Hayes esp driver, so the ioctls to get and set its +# configuration are no longer needed, and they break setserial by making it +# believe that it should compile in the code that supports this modem. + +2010/06/16 +Created-by: Jeff Dike <jdike@linux.intel.com> + +Index: linux-2.6.34/include/asm-generic/ioctls.h +=================================================================== +--- linux-2.6.34.orig/include/asm-generic/ioctls.h ++++ linux-2.6.34/include/asm-generic/ioctls.h +@@ -86,16 +86,6 @@ + #define TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */ + #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ + +-/* +- * some architectures define FIOQSIZE as 0x545E, which is used for +- * TIOCGHAYESESP on others +- */ +-#ifndef FIOQSIZE +-# define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */ +-# define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ +-# define FIOQSIZE 0x5460 +-#endif +- + /* Used for packet mode */ + #define TIOCPKT_DATA 0 + #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 @@ +stdint.h has C definitions which troubles assembler. and if asm/ptrace.h +is included in assembler context, then it should not include the +C-specific stdint.h file. + This was causing glibc building issue on ppc. +Looks like this issue is introduced on the 2.6.34 kernel. + +2010-06-024 +Signed-Off-By:Nitin A Kamble <nitin.a.kamble@intel.com> +Acked-By:Jeff Dike <jdike@linux.intel.com> + +Index: linux-2.6.34/arch/powerpc/include/asm/ptrace.h +=================================================================== +--- linux-2.6.34.orig/arch/powerpc/include/asm/ptrace.h ++++ linux-2.6.34/arch/powerpc/include/asm/ptrace.h +@@ -27,8 +27,10 @@ + #ifdef __KERNEL__ + #include <linux/types.h> + #else ++#ifndef __ASSEMBLY__ + #include <stdint.h> + #endif ++#endif + + #ifndef __ASSEMBLY__ + |