Document/gpu: Use new vm_fault_t type
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 4 Sep 2018 04:15:05 +0000 (09:45 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Sep 2018 13:07:13 +0000 (15:07 +0200)
We have introduce new return type vm_fault_t for
fault handler. Update the document for the same.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180904041505.GA2712@jordon-HP-15-Notebook-PC
Documentation/gpu/drm-mm.rst

index 21b6b72..c3ae888 100644 (file)
@@ -297,7 +297,7 @@ made up of several fields, the more interesting ones being:
        struct vm_operations_struct {
                void (*open)(struct vm_area_struct * area);
                void (*close)(struct vm_area_struct * area);
-               int (*fault)(struct vm_fault *vmf);
+               vm_fault_t (*fault)(struct vm_fault *vmf);
        };