|
@@ -629,9 +629,9 @@ struct vm_special_mapping {
|
|
|
* If non-NULL, then this is called to resolve page faults
|
|
|
* on the special mapping. If used, .pages is not checked.
|
|
|
*/
|
|
|
- int (*fault)(const struct vm_special_mapping *sm,
|
|
|
- struct vm_area_struct *vma,
|
|
|
- struct vm_fault *vmf);
|
|
|
+ vm_fault_t (*fault)(const struct vm_special_mapping *sm,
|
|
|
+ struct vm_area_struct *vma,
|
|
|
+ struct vm_fault *vmf);
|
|
|
|
|
|
int (*mremap)(const struct vm_special_mapping *sm,
|
|
|
struct vm_area_struct *new_vma);
|