Re: [patch 1/1 17-rc3-mm1] generic-time: add macro tosimplify/hide mask constants

From: john stultz
Date: Wed May 03 2006 - 11:47:47 EST


On Wed, 2006-05-03 at 11:21 -0400, Jim Cromie wrote:
> This patch compiles clean, and is running and maintaining ntp lock
> (across ethernet to a laptop). I've verified (with objdump) that
> macro reduces to constant at compile-time. Also compile-tested with
> allnoconfig. Please consider for -mm.
>
> ---
>
> From: Jim Cromie <jim.cromie@xxxxxxxxx>
> Date: Wed May 3 10:59:00 EDT 2006
>
>
> Add a CLOCKSOURCE_MASK macro to simplify initializing the mask for
> a struct clocksource, and use it to replace literal mask constants
> in the various clocksource drivers.
>
> Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>


Looks like a nice change to me.

thanks
-john

Acked-by: John Stultz <johnstul@xxxxxxxxxx>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/