Kyle McMartin wrote:
On Fri, Oct 09, 2009 at 09:32:13AM -0700, Arjan van de Ven wrote:
Hmpf. Rather stuck now, ain'tcha, given that gcc 3.2.3 doesn't even have those?
wonder if making a new define with the value of RESOLUTION * DECAY
(the actual value obviously) convinces your gcc that it really is a power of two ?
It shouldn't. Maybe just add a BUILD_BUG_ON and change the divide to a
shift directly. How expected are these values to ever change, really?
so far... they haven't. I don't really expect these to change much.
maybe once a year or so... to other powers of two
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html