Re: [PATCH v2] PM / Sleep: Print name of wakeup source that aborts suspend

From: Rafael J. Wysocki
Date: Mon Aug 06 2012 - 07:09:13 EST


On Monday, August 06, 2012, Alan Stern wrote:
> On Sun, 5 Aug 2012, Rafael J. Wysocki wrote:
>
> > > v2
> > > use ktime_to_ns() instead of comparisons on .tv64 field
>
> What is the reason for this? It apparently adds complexity and code
> (on non-64-bit systems) to no purpose.

I don't think accessing the internals of ktime_t is appropriate,
even though avoiding that may result in some computational cost.

Thanks,
Rafael
--
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/