mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-10 13:19:31 +00:00
HV:vcpu fix "Pointer param should be declared pointer to const"
Fix violations whose parameter can be read-only. This patch only fix the parameter whose name is vcpu. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -31,7 +31,7 @@ void remove_vcpu_from_runqueue(struct vcpu *vcpu);
|
||||
|
||||
void default_idle(void);
|
||||
|
||||
void make_reschedule_request(struct vcpu *vcpu);
|
||||
void make_reschedule_request(const struct vcpu *vcpu);
|
||||
int need_reschedule(uint16_t pcpu_id);
|
||||
void make_pcpu_offline(uint16_t pcpu_id);
|
||||
int need_offline(uint16_t pcpu_id);
|
||||
|
Reference in New Issue
Block a user