s390: vdso_fault return type
authorSouptick Joarder <jrdr.linux@gmail.com>
Sun, 22 Jul 2018 13:41:09 +0000 (19:11 +0530)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Jul 2018 11:49:57 +0000 (13:49 +0200)
Use new return type vm_fault_t for fault handler vdso_fault.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vdso.c

index 09abae40f9178a9d8789d9ef647fc85b74fcc82b..3031cc6dd0ab48de8ebf3797a2bc748995d67c49 100644 (file)
@@ -47,7 +47,7 @@ static struct page **vdso64_pagelist;
  */
 unsigned int __read_mostly vdso_enabled = 1;
 
-static int vdso_fault(const struct vm_special_mapping *sm,
+static vm_fault_t vdso_fault(const struct vm_special_mapping *sm,
                      struct vm_area_struct *vma, struct vm_fault *vmf)
 {
        struct page **vdso_pagelist;