public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] asm-arm/unaligned.h: switch to asm-generic/unaligned.h
Date: Sun, 24 Jan 2010 10:07:10 -0600	[thread overview]
Message-ID: <4B5C702E.6010700@windriver.com> (raw)
In-Reply-To: <201001232042.11066.vapier@gentoo.org>

Mike Frysinger wrote:
> On Saturday 23 January 2010 20:18:04 Tom wrote:
>> Mike Frysinger wrote:
>>> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
>>> ---
>>> note: havent compile tested this, but it should be straight forward ...
>> I have compile tested this.
>> It is fine.
>>
>> Was this run tested ?
> 
> if i cant compile. i cant run

In some case people do a runtime test without doing a full compile test
with MAKEALL arm.  I was hoping this was the case.

> 
>> I see this was imported from the kernel.
> 
> if that's true, that isnt "my problem".  i modified files that existed in u-
> boot already; i did not myself copy directly from the linux kernel.  feel free 
> to add any comments/etc... you find appropriate.
> -mike

On reviewing 1/3 closer against the linux kernel

diff .../linux-2.6-arm/include/asm-generic/unaligned.h 
.../u-boot-arm/include/asm-generic/unaligned.h

It looks like the version from the kernel could be used without
modifications.  It looks very similar to your patch.

This is the commit from the kernel

aafe4dbed0bf6cbdb2e9f03e1d42f8a540d8541d

     asm-generic: add generic versions of common headers

     These are all kernel internal interfaces that get copied
     around a lot. In most cases, architectures can provide
     their own optimized versions, but these generic versions
     can work as well.

     I have tried to use the most common contents of each
     header to allow existing architectures to migrate easily.

     Thanks to Remis for suggesting a number of cleanups.

     Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
     Signed-off-by: Arnd Bergmann <arnd@arndb.de>


I would prefer to reuse the kernel source where possible.
Tom

  reply	other threads:[~2010-01-24 16:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 10:01 [U-Boot] [PATCH 1/3] asm-generic/unaligned.h: dynamic default unaligned accesses Mike Frysinger
2010-01-21 10:01 ` [U-Boot] [PATCH 2/3] asm-blackfin/unaligned.h: add for zlib code Mike Frysinger
2010-03-13 23:11   ` Wolfgang Denk
2010-01-21 10:01 ` [U-Boot] [PATCH 3/3] asm-arm/unaligned.h: switch to asm-generic/unaligned.h Mike Frysinger
2010-01-24  1:18   ` Tom
2010-01-24  1:42     ` Mike Frysinger
2010-01-24 16:07       ` Tom [this message]
2010-01-24 18:23         ` Mike Frysinger
2010-03-13 23:10 ` [U-Boot] [PATCH 1/3] asm-generic/unaligned.h: dynamic default unaligned accesses Wolfgang Denk

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=4B5C702E.6010700@windriver.com \
    --to=tom.rix@windriver.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox