• Hirokazu Takata's avatar
    [PATCH] m32r: remove obsolete system calls · 139a6134
    Hirokazu Takata authored
    This patch is for removing obsolete system calls from m32r kernel, such as 
    old_mmap and old_select.
    
    	* arch/m32r/kernel/entry.S:
    	- Remove an obsolete system call, old_mmap, from the syscall table.
    
    	* arch/m32r/kernel/sys_m32r.c:
    	- Remove obsolete system calls, old_mmap() and old_select().
    	- do_mmap2() is renamed to sys_mmap2().
    
    * CAUTION (for m32r users):
      The new kernel (applied this patch) does not have a backward
      compatibility. The new kernel and old library pair does not work.
    
      So, those who want to use the new kernel must use a new version of 
      glibc (the GNU C library), which uses the "mmap2(_NR_mmap2)" syscall
      for __mmap() instead of the "old_mmap(__NR_mmap)".
    
      The new glibc package, libc6_2.3.2.ds1-16.0.3_m32r.deb, is provided
      on the following site, please apt-get/download it and upgrade.
    
        http://debian.linux-m32r.org/dists/03_cambrian/main/binary-m32r/Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    139a6134
sys_m32r.c 4.66 KB