[PATCH 1/6] bootwrapper: arch/powerpc/boot code reorg

Arnd Bergmann arnd.bergmann at de.ibm.com
Wed Aug 2 22:41:23 EST 2006


On Wednesday 02 August 2006 06:53, Paul Mackerras wrote:
> > +#ifdef __powerpc64__
> > +typedef unsigned long                u64;
> > +#else
> > +typedef unsigned long long   u64;
> > +#endif
> 
> This is potentially confusing, because the __powerpc64__ relates to
> the boot wrapper not the kernel, and we don't build a 64-bit boot
> wrapper on any platform (not yet anyway).  Maybe this needs a comment.
> 
Moreover, even if we ever build this on __powerpc64__, the 
typedef unsigned long long u64 would still do the right thing.
It only ever becomes a problem when mixing with u64 the c99 uint64_t,
which is defined the other way.

	Arnd <><



More information about the Linuxppc-dev mailing list