[PATCH] arch/powerpc/platforms/iseries/pci.c: Use time_* macros

Stephen Rothwell sfr at canb.auug.org.au
Tue Mar 18 10:31:05 EST 2008


On Mon, 17 Mar 2008 11:36:26 +0200 S.Çağlar Onur <caglar at pardus.org.tr> wrote:
>
> The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values.
> 
> So following patch implements usage of the time_after() macro, defined at linux/jiffies.h, which deals with wrapping correctly
> 
> Cc: linuxppc-dev at ozlabs.org
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Signed-off-by: S.Çağlar Onur <caglar at pardus.org.tr>

Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080318/20f22336/attachment.pgp>


More information about the Linuxppc-dev mailing list