mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
ed98c34919
commit
efefc97736
3 changed files with 7 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue