mirror of https://github.com/OpenIPC/firmware.git
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
diff -drupN a/include/linux/mm.h b/include/linux/mm.h
|
|
--- a/include/linux/mm.h 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/include/linux/mm.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -1143,6 +1143,7 @@ extern void pagefault_out_of_memory(void
|
|
extern void show_free_areas(unsigned int flags);
|
|
extern bool skip_free_areas_node(unsigned int flags, int nid);
|
|
|
|
+void shmem_set_file(struct vm_area_struct *vma, struct file *file);
|
|
int shmem_zero_setup(struct vm_area_struct *);
|
|
#ifdef CONFIG_SHMEM
|
|
bool shmem_mapping(struct address_space *mapping);
|
|
@@ -1966,7 +1967,7 @@ static inline int vma_adjust(struct vm_a
|
|
extern struct vm_area_struct *vma_merge(struct mm_struct *,
|
|
struct vm_area_struct *prev, unsigned long addr, unsigned long end,
|
|
unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t,
|
|
- struct mempolicy *, struct vm_userfaultfd_ctx);
|
|
+ struct mempolicy *, struct vm_userfaultfd_ctx, const char __user *);
|
|
extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *);
|
|
extern int split_vma(struct mm_struct *,
|
|
struct vm_area_struct *, unsigned long addr, int new_below);
|