jiffies: Introduce USER_TICK_USEC and redefine TICK_USEC
Since the subsequent changes will need a TICK_USEC definition analogous to TICK_NSEC, rename the existing TICK_USEC as USER_TICK_USEC, update its users and redefine TICK_USEC accordingly. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
This commit is contained in:
@@ -375,7 +375,7 @@ static int efx_mcdi_poll(struct efx_nic *efx)
|
||||
* because generally mcdi responses are fast. After that, back off
|
||||
* and poll once a jiffy (approximately)
|
||||
*/
|
||||
spins = TICK_USEC;
|
||||
spins = USER_TICK_USEC;
|
||||
finish = jiffies + MCDI_RPC_TIMEOUT;
|
||||
|
||||
while (1) {
|
||||
|
Reference in New Issue
Block a user