Re: [PATCH] x86: OLPC: add OLPC device-tree support (v3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andres Salomon
Date: Wednesday, October 27, 2010 - 10:48 am

On Wed, 27 Oct 2010 11:19:33 +0100
Grant Likely <grant.likely@secretlab.ca> wrote:


I saw that; thanks!

It would be good to get an Ack on that additional x86 patch, too..



The __olpc_ofw API is implemented this way because Ingo didn't like the
original one which used varargs.  Using an array like this is cleaner
in terms of not needing to manually pass the number of arguments (as
the olpc_ofw macro deduces them using ARRAY_SIZE).

The recast to an int is required by OFW's cif interface.  I don't know
why it's done that way; I've cc'd Mitch on that.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: OLPC: add OLPC device-tree support (v3), Andres Salomon, (Fri Oct 22, 3:58 pm)
Re: [PATCH] x86: OLPC: add OLPC device-tree support (v3), Thomas Gleixner, (Wed Oct 27, 6:35 am)
Re: [PATCH] x86: OLPC: add OLPC device-tree support (v3), H. Peter Anvin, (Wed Oct 27, 7:41 am)
Re: [PATCH] x86: OLPC: add OLPC device-tree support (v3), Andres Salomon, (Wed Oct 27, 10:48 am)