[PATCH] of/flattree: Use common ALIGN() macro instead of archspecific _ALIGN

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Sat Jun 26 09:36:21 EST 2010



> -----Original Message-----
> From: glikely at secretlab.ca [mailto:glikely at secretlab.ca] On Behalf Of Grant Likely
> Sent: Friday, June 25, 2010 4:34 PM
> To: Stephen Neuendorffer
> Cc: benh at kernel.crashing.org; monstr at monstr.eu; microblaze-uclinux at itee.uq.edu.au; devicetree-
> discuss at lists.ozlabs.org; linux-kernel at vger.kernel.org; jeremy.kerr at canonical.com;
> sfr at canb.auug.org.au
> Subject: Re: [PATCH] of/flattree: Use common ALIGN() macro instead of archspecific _ALIGN
> 
> On Fri, Jun 25, 2010 at 5:18 PM, Stephen Neuendorffer
> <stephen.neuendorffer at xilinx.com> wrote:
> >> -----Original Message-----
> >> From: glikely at secretlab.ca [mailto:glikely at secretlab.ca] On Behalf Of Grant Likely
> >> Sent: Friday, June 25, 2010 4:16 PM
> >> To: Stephen Neuendorffer
> >> Cc: benh at kernel.crashing.org; monstr at monstr.eu; microblaze-uclinux at itee.uq.edu.au; devicetree-
> >> discuss at lists.ozlabs.org; linux-kernel at vger.kernel.org; jeremy.kerr at canonical.com;
> >> sfr at canb.auug.org.au
> >> Subject: Re: [PATCH] of/flattree: Use common ALIGN() macro instead of archspecific _ALIGN
> >>
> >> On Fri, Jun 25, 2010 at 4:49 PM, Stephen Neuendorffer
> >> <stephen.neuendorffer at xilinx.com> wrote:
> >> > Grant,
> >> >
> >> > I need this for the PCI project.  I also have a couple of other
> >> > generalizations of the drivers/of code
> >> > to get it to run after boot time in an X86 system...
> >>
> >> Send me your patches!  :-)  Get them to me soon and I'll queue them up
> >> for the next merge window.
> >>
> >> g.
> >
> > Dangit, I just got the code compiling, and now I find out that X86 doesn't support out_be32()...  :)
> > You'd think that somewhere somebody might have realized that all the duplicated driver macros that
> > do that are a bad idea...
> 
> :-)
> 
> I think iowrite32be should be cross-arch safe.  in_*, out_* was mostly
> a powerpc/sparc thing.
> 
> g.

See.. I told you it was a good idea to have that abstracted.. :)

S

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




More information about the devicetree-discuss mailing list