Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/compat/linux/common Pull up revision 1.10 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/a1721d113c1a
branches:  netbsd-2-0
changeset: 561572:a1721d113c1a
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Jun 22 08:52:55 2004 +0000

description:
Pull up revision 1.10 (requested by manu in ticket #521):
Fix a reversed errno issue for Linux binaries on mips. While we are
there,
fix broken includes for alpha and m68k.

diffstat:

 sys/compat/linux/common/linux_errno.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 98a45d49d51e -r a1721d113c1a sys/compat/linux/common/linux_errno.h
--- a/sys/compat/linux/common/linux_errno.h     Tue Jun 22 08:49:57 2004 +0000
+++ b/sys/compat/linux/common/linux_errno.h     Tue Jun 22 08:52:55 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_errno.h,v 1.9 2002/01/17 15:11:38 rjs Exp $      */
+/*     $NetBSD: linux_errno.h,v 1.9.18.1 2004/06/22 08:52:55 tron Exp $        */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -80,12 +80,14 @@
 /* depending on the machine architechture. */
 #if defined(__i386__)
 #include <compat/linux/arch/i386/linux_errno.h>
-#elif defined(__alpha__)
-#include <compat/linux/arch/alpha/linux_errno.h>
+#elif defined(__mips__)
+#include <compat/linux/arch/mips/linux_errno.h>
 #elif defined(__alpha__)
 #include <compat/linux/arch/alpha/linux_errno.h>
 #elif defined(__powerpc__)
 #include <compat/linux/arch/powerpc/linux_errno.h>
+#elif defined(__m68k__)
+#include <compat/linux/arch/m68k/linux_errno.h>
 #elif defined(__arm__)
 #include <compat/linux/arch/arm/linux_errno.h>
 #else



Home | Main Index | Thread Index | Old Index