mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
hv: use int32_t replace int
Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -106,7 +106,7 @@ void make_reschedule_request(const struct acrn_vcpu *vcpu)
|
||||
}
|
||||
}
|
||||
|
||||
int need_reschedule(uint16_t pcpu_id)
|
||||
int32_t need_reschedule(uint16_t pcpu_id)
|
||||
{
|
||||
struct sched_context *ctx = &per_cpu(sched_ctx, pcpu_id);
|
||||
|
||||
@@ -160,7 +160,7 @@ void make_pcpu_offline(uint16_t pcpu_id)
|
||||
}
|
||||
}
|
||||
|
||||
int need_offline(uint16_t pcpu_id)
|
||||
int32_t need_offline(uint16_t pcpu_id)
|
||||
{
|
||||
struct sched_context *ctx = &per_cpu(sched_ctx, pcpu_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user