Merge commit 'v2.6.28-rc8' into x86/uv
Этот коммит содержится в:
@@ -254,7 +254,11 @@ static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr,
|
||||
return 1;
|
||||
|
||||
*paddr = pte_pfn(pte) << PAGE_SHIFT;
|
||||
#ifdef CONFIG_HUGETLB_PAGE
|
||||
*pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT;
|
||||
#else
|
||||
*pageshift = PAGE_SHIFT;
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
err:
|
||||
|
@@ -481,7 +481,7 @@ struct vm_operations_struct gru_vm_ops = {
|
||||
.fault = gru_fault,
|
||||
};
|
||||
|
||||
module_init(gru_init);
|
||||
fs_initcall(gru_init);
|
||||
module_exit(gru_exit);
|
||||
|
||||
module_param(gru_options, ulong, 0644);
|
||||
|
Ссылка в новой задаче
Block a user