diff options
| author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-07-30 11:52:31 +0100 |
|---|---|---|
| committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-07-30 11:52:31 +0100 |
| commit | 7794ec7774066eb12af67a0a756bddd66f2d50f8 (patch) | |
| tree | bf3b8eeee5c2a1f8150f7328cd7eae5620f76c89 /tools/lib/api/debug.c | |
| parent | 830aadceae20c08704562f0b83fdd0f0062d06c6 (diff) | |
drm/armada: Adding new typedef vm_fault_t
Use new return type vm_fault_t for fault handler in struct
vm_operations_struct. For now, this is just documenting that the
function returns a VM_FAULT value rather than an errno. Once all
instances are converted, vm_fault_t will become a distinct type.
commit 1c8f422059ae ("mm: change return type to vm_fault_t")
Previously vm_insert_pfn() returns err which driver mapped into
VM_FAULT_* type. The new function vmf_insert_pfn() will replace this
inefficiency by returning VM_FAULT_* type.
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions
