mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
KVM: x86.c make kvm_load_realmode_segment static
Noticed by sparse: arch/x86/kvm/x86.c:3591:5: warning: symbol 'kvm_load_realmode_segment' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
4c2155ce81
commit
2259e3a7a6
1 changed files with 1 additions and 1 deletions
|
@ -3611,7 +3611,7 @@ static int load_segment_descriptor_to_kvm_desct(struct kvm_vcpu *vcpu,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int kvm_load_realmode_segment(struct kvm_vcpu *vcpu, u16 selector, int seg)
|
||||
static int kvm_load_realmode_segment(struct kvm_vcpu *vcpu, u16 selector, int seg)
|
||||
{
|
||||
struct kvm_segment segvar = {
|
||||
.base = selector << 4,
|
||||
|
|
Loading…
Reference in a new issue