Page MenuHomeFreeBSD

D32169.id95803.diff
No OneTemporary

D32169.id95803.diff

Index: sys/compat/linuxkpi/common/include/linux/mm.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/mm.h
+++ sys/compat/linuxkpi/common/include/linux/mm.h
@@ -137,7 +137,7 @@
struct vm_operations_struct {
void (*open) (struct vm_area_struct *);
void (*close) (struct vm_area_struct *);
- int (*fault) (struct vm_area_struct *, struct vm_fault *);
+ int (*fault) (struct vm_fault *);
int (*access) (struct vm_area_struct *, unsigned long, void *, int, int);
};
Index: sys/compat/linuxkpi/common/src/linux_compat.c
===================================================================
--- sys/compat/linuxkpi/common/src/linux_compat.c
+++ sys/compat/linuxkpi/common/src/linux_compat.c
@@ -557,11 +557,11 @@
vmap->vm_pfn_pcount = &vmap->vm_pfn_count;
vmap->vm_obj = vm_obj;
- err = vmap->vm_ops->fault(vmap, &vmf);
+ err = vmap->vm_ops->fault(&vmf);
while (vmap->vm_pfn_count == 0 && err == VM_FAULT_NOPAGE) {
kern_yield(PRI_USER);
- err = vmap->vm_ops->fault(vmap, &vmf);
+ err = vmap->vm_ops->fault(&vmf);
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 15, 6:00 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23744995
Default Alt Text
D32169.id95803.diff (1 KB)

Event Timeline