diff options
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 1148c96a4817..02cb440f802d 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -520,7 +520,7 @@ out_err_nodisable: | |||
520 | * Avoid using vmalloc for a small buffer. | 520 | * Avoid using vmalloc for a small buffer. |
521 | * Should not be used when the size is statically known. | 521 | * Should not be used when the size is statically known. |
522 | */ | 522 | */ |
523 | static void *kvm_kvzalloc(unsigned long size) | 523 | void *kvm_kvzalloc(unsigned long size) |
524 | { | 524 | { |
525 | if (size > PAGE_SIZE) | 525 | if (size > PAGE_SIZE) |
526 | return vzalloc(size); | 526 | return vzalloc(size); |
@@ -528,7 +528,7 @@ static void *kvm_kvzalloc(unsigned long size) | |||
528 | return kzalloc(size, GFP_KERNEL); | 528 | return kzalloc(size, GFP_KERNEL); |
529 | } | 529 | } |
530 | 530 | ||
531 | static void kvm_kvfree(const void *addr) | 531 | void kvm_kvfree(const void *addr) |
532 | { | 532 | { |
533 | if (is_vmalloc_addr(addr)) | 533 | if (is_vmalloc_addr(addr)) |
534 | vfree(addr); | 534 | vfree(addr); |