Explorar o código

s390: vdso_fault return type

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>
Souptick Joarder %!s(int64=7) %!d(string=hai) anos
pai
achega
ef4b891f79
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/s390/kernel/vdso.c

+ 1 - 1
arch/s390/kernel/vdso.c

@@ -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;