Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Fixes for mips support



details:   https://anonhg.NetBSD.org/src/rev/96f2824f6b8d
branches:  trunk
changeset: 515363:96f2824f6b8d
user:      manu <manu%NetBSD.org@localhost>
date:      Sat Sep 22 21:22:57 2001 +0000

description:
Fixes for mips support

diffstat:

 sys/compat/linux/common/linux_file.c |  7 ++++---
 sys/compat/linux/common/linux_time.c |  7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r cbe2264e815b -r 96f2824f6b8d sys/compat/linux/common/linux_file.c
--- a/sys/compat/linux/common/linux_file.c      Sat Sep 22 21:19:10 2001 +0000
+++ b/sys/compat/linux/common/linux_file.c      Sat Sep 22 21:22:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_file.c,v 1.41 2001/09/04 20:27:29 jdolecek Exp $ */
+/*     $NetBSD: linux_file.c,v 1.42 2001/09/22 21:22:57 manu Exp $     */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -768,7 +768,8 @@
        return sys___posix_lchown(p, &bla, retval);
 }
 #endif /* __i386__ || __m68k__ */
-#if defined (__i386__) || defined (__m68k__) || defined (__powerpc__)
+#if defined (__i386__) || defined (__m68k__) || \
+    defined (__powerpc__) || defined (__mips__)
 int
 linux_sys_chown(p, v, retval)
        struct proc *p;
@@ -804,7 +805,7 @@
 
        return sys___posix_lchown(p, uap, retval);
 }
-#endif /* __i386__ || __m68k__ || __powerpc__ */
+#endif /* __i386__ || __m68k__ || __powerpc__ || __mips__ */
 
 int
 linux_sys_rename(p, v, retval)
diff -r cbe2264e815b -r 96f2824f6b8d sys/compat/linux/common/linux_time.c
--- a/sys/compat/linux/common/linux_time.c      Sat Sep 22 21:19:10 2001 +0000
+++ b/sys/compat/linux/common/linux_time.c      Sat Sep 22 21:22:57 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_time.c,v 1.2 2001/05/15 20:35:02 manu Exp $ */
+/* $NetBSD: linux_time.c,v 1.3 2001/09/22 21:22:57 manu Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -54,7 +54,8 @@
 /*
  * This is not implemented for alpha yet
  */
-#if defined (__i386__) || defined (__m68k__) || defined (__powerpc__)
+#if defined (__i386__) || defined (__m68k__) || \
+    defined (__powerpc__) || defined (__mips__)
 
 /* 
  * Linux keeps track of a system timezone in the kernel. It is readen
@@ -119,4 +120,4 @@
        return (0);
 }
 
-#endif /* __i386__ || __m68k__ || __powerpc__ */
+#endif /* __i386__ || __m68k__ || __powerpc__ || __mips__ */



Home | Main Index | Thread Index | Old Index