Page MenuHomeFreeBSD

D32169.diff
No OneTemporary

D32169.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h
--- a/sys/compat/linuxkpi/common/include/linux/mm.h
+++ b/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);
};
diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c
--- a/sys/compat/linuxkpi/common/src/linux_compat.c
+++ b/sys/compat/linuxkpi/common/src/linux_compat.c
@@ -560,11 +560,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
Thu, Feb 13, 3:38 PM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16629491
Default Alt Text
D32169.diff (1 KB)

Event Timeline