This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PPC64 umount fix.


For PPC64 native builds unount does not work because default umount uses syscall(NR__umount, ...) which is not implemented for PPC64. The best solution is to forward all umount calls to umount2 like hppa umount.c.

Thanks to Marcus Meisser for pointing this out.

2004-04-09  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.

diff -urN libc23-cvstip-20040405/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c
--- libc23-cvstip-20040405/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c	Wed Dec 31 18:00:00 1969
+++ libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c	Wed Apr 07 16:52:56 2004
@@ -0,0 +1,1 @@
+#include <sysdeps/unix/sysv/linux/hppa/umount.c>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]