[OpenBIOS] [PATCH v2] ppc: Convert I/O macros to inline functions

Blue Swirl blauwirbel at gmail.com
Sat Nov 13 08:54:20 CET 2010

On Fri, Nov 12, 2010 at 11:54 PM, Andreas Färber <andreas.faerber at web.de> wrote:
> Suggested by Blue.
> v2:
> * Make port uint16_t, suggested by Alex.
> * Adapt isa_io_base for ppc64.
> Cc: Blue Swirl <blauwirbel at gmail.com>
> Cc: Alexander Graf <agraf at suse.de>
> Signed-off-by: Andreas Färber <andreas.faerber at web.de>

Please also adjust isa_io_base in arch/unix/unix.c:
uint32_t isa_io_base;
#elif defined(CONFIG_SPARC64)
unsigned long isa_io_base;

It's also defined as uint32_t in arch/ppc/{briq,mol,pearpc}/init.c.
Sparc64 should be fine with uintptr_t or phys_addr_t.

More information about the OpenBIOS mailing list