History

Merge git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull two small kvm fixes from Avi Kivity: "A build fix for non-kvm archs and a transparent hugepage refcount bugfix on hosts with 4M pages." * git://git.kernel.org/pub/scm/virt/kvm/kvm: KVM: Export asm-generic/kvm_para.h KVM: MMU: fix huge page adapted on non-PAE host

Linus Torvalds committed 14 years ago

Commit bd0e1622 parents 0545522 56457f32 files · +2 −2Browse files

Unified · Split

2 files
  1. arch/x86/kvm/mmu.c +1 −2
  2. include/asm-generic/Kbuild +1 −0
arch/x86/kvm/mmu.c+1−2
@@ -2595,8 +2595,7 @@ static void transparent_hugepage_adjust(struct kvm_vcpu *vcpu, · 2594 unmodified lines
25952595 *gfnp = gfn;
25962596 kvm_release_pfn_clean(pfn);
25972597 pfn &= ~mask;
2598− if (!get_page_unless_zero(pfn_to_page(pfn)))
2599− BUG();
2598+ kvm_get_pfn(pfn);
26002599 *pfnp = pfn;
26012600 }
26022601 }
include/asm-generic/Kbuild+1−0
@@ -8,6 +8,7 @@ header-y += int-ll64.h · 7 unmodified lines
88 header-y += ioctl.h
99 header-y += ioctls.h
1010 header-y += ipcbuf.h
11+header-y += kvm_para.h
1112 header-y += mman-common.h
1213 header-y += mman.h
1314 header-y += msgbuf.h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t