On 10/31/2011 09:53 AM, Alexander Graf wrote: > With hugetlbfs support emerging on e500, we should also support KVM > backing its guest memory by it. > > This patch adds support for hugetlbfs into the e500 shadow mmu code. > > > @@ -673,12 +674,31 @@ static inline void kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500, > pfn &= ~(tsize_pages - 1); > break; > } > + } else if (vma && hva >= vma->vm_start && > + (vma->vm_flags & VM_HUGETLB)) { > + unsigned long psize = vma_kernel_pagesize(vma); > Leading spaces spotted. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html