mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
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:
@@ -36,7 +36,7 @@ void udelay(int loop_count)
|
||||
uint64_t dest_tsc, delta_tsc;
|
||||
|
||||
/* Calculate number of ticks to wait */
|
||||
delta_tsc = TIME_MS_DELTA * loop_count;
|
||||
delta_tsc = CYCLES_PER_MS * loop_count;
|
||||
dest_tsc = rdtsc() + delta_tsc;
|
||||
|
||||
/* Loop until time expired */
|
||||
|
Reference in New Issue
Block a user