diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index a3a8f5fb369e..fd67bcde9980 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -588,6 +588,7 @@ static int kvm_vm_release(struct inode *inode, struct file *filp) | |||
588 | return 0; | 588 | return 0; |
589 | } | 589 | } |
590 | 590 | ||
591 | #ifndef CONFIG_S390 | ||
591 | /* | 592 | /* |
592 | * Allocation size is twice as large as the actual dirty bitmap size. | 593 | * Allocation size is twice as large as the actual dirty bitmap size. |
593 | * This makes it possible to do double buffering: see x86's | 594 | * This makes it possible to do double buffering: see x86's |
@@ -608,6 +609,7 @@ static int kvm_create_dirty_bitmap(struct kvm_memory_slot *memslot) | |||
608 | memslot->dirty_bitmap_head = memslot->dirty_bitmap; | 609 | memslot->dirty_bitmap_head = memslot->dirty_bitmap; |
609 | return 0; | 610 | return 0; |
610 | } | 611 | } |
612 | #endif /* !CONFIG_S390 */ | ||
611 | 613 | ||
612 | /* | 614 | /* |
613 | * Allocate some memory and give it an address in the guest physical address | 615 | * Allocate some memory and give it an address in the guest physical address |