hv: timer: rename cpu/cpu_id to pcpu_id

timer is physical cpu related.

Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong>
This commit is contained in:
Li, Fei1
2018-04-23 13:01:04 +08:00
committed by Jack Ren
parent d129659ecd
commit 7f4332f539
2 changed files with 41 additions and 40 deletions

View File

@@ -34,11 +34,11 @@
typedef int (*timer_handle_t)(uint64_t);
long add_timer(timer_handle_t func, uint64_t data, uint64_t deadline);
bool cancel_timer(long handle, int cpu_id);
bool cancel_timer(long handle, int pcpu_id);
long update_timer(long handle, timer_handle_t func, uint64_t data,
uint64_t deadline);
int timer_softirq(int cpu_id);
int timer_softirq(int pcpu_id);
void timer_init(void);
void timer_cleanup(void);
void check_tsc(void);