From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Sat, 31 May 2008 23:29:39 +0900 Subject: [U-Boot-Users] [PATCH] mips: Add an 'include/asm/errno.h', like all other architectures In-Reply-To: <20080528220305.GA2096@game.jcrosoft.org> References: <20080527181202.0C87C1E8FF@mcmullan-linux.hq.netapp.com> <20080528220305.GA2096@game.jcrosoft.org> Message-ID: <484160D3.10500@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jean-Christophe PLAGNIOL-VILLARD wrote: > 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 Applied, thanks. >> 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. That's fine with me. Shinya