glibc/sysdeps/unix/sysv/linux/umount.S
Ulrich Drepper 7934cc1673 Update.
1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
	Add umount and umount2.
	* sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
	* sysdeps/unix/sysv/linux/umount.S: New file.
	* sysdeps/unix/sysv/linux/umount2.S: New file.
	* sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
	Define MNT_FORCE.
1998-08-20 19:16:48 +00:00

13 lines
298 B
ArmAsm

/* This hack is necessary since the kernel people are making "strange"
changes. They simply rename old system calls. */
#include <sysdep.h>
#ifdef __NR_oldumount
PSEUDO (__umount, oldumount, 1)
#else
PSEUDO (__umount, umount, 1)
#endif
ret
PSEUDO_END(__umount)
weak_alias (__umount, umount)