[PATCH 2/2] ARM: delay: allow timer-based delay implementation to be selected
Will Deacon
will.deacon at arm.com
Tue Jun 26 12:28:02 EDT 2012
On Tue, Jun 26, 2012 at 05:00:21PM +0100, Rob Herring wrote:
> On 06/26/2012 10:54 AM, Will Deacon wrote:
> > The reason this is slightly problematic is due to gas's inability to
> > represent unsigned constants -- namely that the 'U' suffix causes it to
> > barf. I can fix it with the diff below, but please let me know what you
> > think.
>
> [snip]
>
> > +#ifndef __ASSEMBLY__
> > +
>
>
> > +#define UDELAY_MULT_HZ 2199023U
> > +#else
> > +#define UDELAY_MULT_HZ 2199023
>
> Doesn't UL() macro do what you need?
Indeed, thanks for pointing that out as I'd failed to spot it.
I'll include this change for v2.
Will
More information about the linux-arm-kernel
mailing list