patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 15:48:27 2011 +0200 (2011-07-17)
changeset 2886 f1ad0445325c
parent 518 c1e6c0ebfac1
permissions -rw-r--r--
cc/gcc: simplify calls to core backend

The core backend is going to have more parameters in the upcoming
patches, so it will be a bit complex to handle.

Introduce an array-variable that is filled by the different code-paths
with the required values.

This makes the code easier to read and maintain.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
     2 --- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c	2005-06-10 13:12:09.000000000 +0200
     3 +++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c	2008-05-18 16:19:45.000000000 +0200
     4 @@ -45,7 +45,6 @@
     5  #include <sys/mman.h>
     6  
     7  #include <linux/version.h>
     8 -#include <asm/page.h>
     9  #include <sys/sysctl.h>
    10  
    11  #define PATH_ARM_SYSTYPE	"/etc/arm_systype"