From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 29 May 2008 00:03:05 +0200 Subject: [U-Boot-Users] [PATCH] mips: Add an 'include/asm/errno.h', like all other architectures In-Reply-To: <20080527181202.0C87C1E8FF@mcmullan-linux.hq.netapp.com> References: <20080527181202.0C87C1E8FF@mcmullan-linux.hq.netapp.com> Message-ID: <20080528220305.GA2096@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14:09 Tue 27 May , Jason McMullan wrote: > All other u-boot architectures have an include/asm/errno.h, so > this change adds it to the mips include/asm-mips headers also. > > Stolen from Linux 2.6.25. > > Signed-off-by: Jason McMullan > --- > include/asm-mips/errno.h | 143 ++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 143 insertions(+), 0 deletions(-) > create mode 100644 include/asm-mips/errno.h > > diff --git a/include/asm-mips/errno.h b/include/asm-mips/errno.h > new file mode 100644 > index 0000000..1665a63 > --- /dev/null > +++ b/include/asm-mips/errno.h > @@ -0,0 +1,143 @@ > +/* > + * This file is subject to the terms and conditions of the GNU General Public > + * License. See the file "COPYING" in the main directory of this archive > + * for more details. > + * > + * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle > + */ > +#ifndef _ASM_MIPS_ERRNO_H > +#define _ASM_MIPS_ERRNO_H > + > +/* > + * These first 34 error codes are from Linux 2.6, > + */ as it said here, is not a good think to add an asm-generis subdir to this king code intead of duplicate it for all arch. Best Regargs, J.