All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] mips: Add an 'include/asm/errno.h', like all other architectures
Date: Sat, 31 May 2008 23:29:39 +0900	[thread overview]
Message-ID: <484160D3.10500@ruby.dti.ne.jp> (raw)
In-Reply-To: <20080528220305.GA2096@game.jcrosoft.org>

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 <mcmullan@netapp.com>
>> ---
>>  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, <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.

That's fine with me.


  Shinya

      reply	other threads:[~2008-05-31 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27 18:09 [U-Boot-Users] [PATCH] mips: Add an 'include/asm/errno.h', like all other architectures Jason McMullan
2008-05-28 22:03 ` Jean-Christophe PLAGNIOL-VILLARD
2008-05-31 14:29   ` Shinya Kuribayashi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484160D3.10500@ruby.dti.ne.jp \
    --to=skuribay@ruby.dti.ne.jp \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.