[U-Boot-Users] [PATCH] mips: Add an 'include/asm/errno.h', like all other architectures

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu May 29 00:03:05 CEST 2008


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 <mcmullan at netapp.com>
> ---
>  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, <asm-generic/errno-base.h>
> + */
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.




More information about the U-Boot mailing list