Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux Make alpha use linux_sys_utimes() just like...
details: https://anonhg.NetBSD.org/src/rev/925b23d1a7f1
branches: trunk
changeset: 790035:925b23d1a7f1
user: njoly <njoly%NetBSD.org@localhost>
date: Sun Sep 15 12:58:34 2013 +0000
description:
Make alpha use linux_sys_utimes() just like other archs.
diffstat:
sys/compat/linux/arch/alpha/syscalls.master | 6 +++---
sys/compat/linux/common/linux_misc.c | 6 ++----
2 files changed, 5 insertions(+), 7 deletions(-)
diffs (52 lines):
diff -r effd0ab4dea9 -r 925b23d1a7f1 sys/compat/linux/arch/alpha/syscalls.master
--- a/sys/compat/linux/arch/alpha/syscalls.master Sun Sep 15 12:48:58 2013 +0000
+++ b/sys/compat/linux/arch/alpha/syscalls.master Sun Sep 15 12:58:34 2013 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.77 2012/09/19 21:19:14 pooka Exp $
+ $NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp $
;
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -588,8 +588,8 @@
362 NOARGS { int|compat_50_sys||setitimer(int which, \
const struct itimerval50 *itv, \
struct itimerval50 *oitv); }
-363 NOARGS { int|compat_50_sys||utimes(char *path, \
- struct timeval50 *times); }
+363 STD { int|linux_sys||utimes(char *path, \
+ struct linux_timeval *times); }
364 NOARGS { int|compat_50_sys||getrusage(int who, \
struct rusage50 *rusage); }
365 STD { int|linux_sys||wait4(int pid, int *status, \
diff -r effd0ab4dea9 -r 925b23d1a7f1 sys/compat/linux/common/linux_misc.c
--- a/sys/compat/linux/common/linux_misc.c Sun Sep 15 12:48:58 2013 +0000
+++ b/sys/compat/linux/common/linux_misc.c Sun Sep 15 12:58:34 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc.c,v 1.224 2013/08/11 09:07:15 pooka Exp $ */
+/* $NetBSD: linux_misc.c,v 1.225 2013/09/15 12:58:34 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.224 2013/08/11 09:07:15 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.225 2013/09/15 12:58:34 njoly Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1381,7 +1381,6 @@
return 0;
}
-#ifndef __alpha__
int
linux_sys_utimes(struct lwp *l, const struct linux_sys_utimes_args *uap, register_t *retval)
{
@@ -1438,5 +1437,4 @@
return do_sys_utimes(l, NULL, SCARG(uap, path), NOFOLLOW,
tptr, UIO_SYSSPACE);
}
-#endif /* __alpha__ */
#endif /* !COMPAT_LINUX32 */
Home |
Main Index |
Thread Index |
Old Index