Re: [patch 2/2] round_jiffies users

From: Arjan van de Ven
Date: Tue Oct 10 2006 - 19:53:09 EST


Paul Dickson wrote:
On Tue, 10 Oct 2006 18:04:23 +0200, Arjan van de Ven wrote:

+ mod_timer(&adapter->phy_info_timer, round_jiffies(jiffies + 2 * HZ));

Shouldn't round_jiffies_relative be used for some of these, a la:

+ mod_timer(&adapter->phy_info_timer, round_jiffies_relative(2 * HZ));


mod_timer() takes an absolute jiffies value as argument, so... no :)
-
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/