Rename TIME_MS_DELTA to CYCLES_PER_MS

TIME_MS_DELTA is not clear enough, rename it to CYCLES_PER_MS.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
This commit is contained in:
Qi Yadong
2018-03-29 08:55:09 +08:00
committed by lijinxia
parent abcd765f2d
commit 1eece0d5e6
5 changed files with 6 additions and 6 deletions

View File

@@ -231,6 +231,6 @@ void console_setup_timer(void)
{
/* Start an one-shot timer */
if (add_timer(console_timer_callback, 0,
rdtsc() + TIME_MS_DELTA * CONSOLE_KICK_TIMER_TIMEOUT) < 0)
rdtsc() + CYCLES_PER_MS * CONSOLE_KICK_TIMER_TIMEOUT) < 0)
pr_err("Failed to add console kick timer");
}