~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to kernel/mmu.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-02-26 13:10:57 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20080226131057-s67x6l89mtjw1x9b
Tags: 1:62+dfsg-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
#include <linux/kvm_host.h>
5
5
 
 
6
#ifdef CONFIG_X86_64
 
7
#define TDP_ROOT_LEVEL PT64_ROOT_LEVEL
 
8
#else
 
9
#define TDP_ROOT_LEVEL PT32E_ROOT_LEVEL
 
10
#endif
 
11
 
6
12
static inline void kvm_mmu_free_some_pages(struct kvm_vcpu *vcpu)
7
13
{
8
14
        if (unlikely(vcpu->kvm->arch.n_free_mmu_pages < KVM_MIN_FREE_MMU_PAGES))