]> sourceware.org Git - systemtap.git/commitdiff
PR16460: Fix ia64 compile problem when using 'syscall.umount'.
authorDavid Smith <dsmith@redhat.com>
Thu, 16 Jan 2014 17:23:12 +0000 (11:23 -0600)
committerDavid Smith <dsmith@redhat.com>
Thu, 16 Jan 2014 17:23:12 +0000 (11:23 -0600)
* runtime/linux/compat_unistd.h: Add '__NR_umount2' for ia64.

runtime/linux/compat_unistd.h

index 7417ebaf8e1b2c0f5ccdea83c26a36463bd68b86..d3fdeed093ba772f747af81c057d069528313a12 100644 (file)
 
 #endif /* __powerpc64__ || __s390x__ */
 
+#if defined(__ia64__)
+
+// On RHEL5 ia64, __NR_umount2 doesn't exist. So, define it in terms
+// of __NR_umount.
+
+#ifndef __NR_umount2
+#define __NR_umount2 __NR_umount
+#endif
+
+#endif /* __ia64__ */
+
 #endif /* _COMPAT_UNISTD_H_ */
This page took 0.030291 seconds and 5 git commands to generate.