linux: updated to v5.1

Fix MS_RDONLY issue https://github.com/cirosantilli/linux-kernel-module-cheat/issues/56

mmap module had trivial update on return value incompatibility.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-21 00:00:00 +00:00
parent 01984c2201
commit b5558eeebe
2 changed files with 2 additions and 3 deletions

View File

@@ -24,8 +24,7 @@ static void vm_close(struct vm_area_struct *vma)
}
/* First page access. */
int (*fault)(struct vm_fault *vmf);
static int vm_fault(struct vm_fault *vmf)
static vm_fault_t vm_fault(struct vm_fault *vmf)
{
struct page *page;
struct mmap_info *info;