projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for unbranded XDX-RN502J board
[openwrt.git]
/
target
/
linux
/
generic
/
patches-3.0
/
950-vm_exports.patch
diff --git
a/target/linux/generic/patches-3.0/950-vm_exports.patch
b/target/linux/generic/patches-3.0/950-vm_exports.patch
index
129ae8d
..
7e80ced
100644
(file)
--- a/
target/linux/generic/patches-3.0/950-vm_exports.patch
+++ b/
target/linux/generic/patches-3.0/950-vm_exports.patch
@@
-1,6
+1,6
@@
--- a/mm/shmem.c
+++ b/mm/shmem.c
--- a/mm/shmem.c
+++ b/mm/shmem.c
-@@ -29
44,6 +2944
,16 @@ out:
+@@ -29
51,6 +2951
,16 @@ out:
/* common code */
/* common code */
@@
-17,7
+17,7
@@
/**
* shmem_file_setup - get an unlinked file living in tmpfs
* @name: name for dentry (to be seen in /proc/<pid>/maps
/**
* shmem_file_setup - get an unlinked file living in tmpfs
* @name: name for dentry (to be seen in /proc/<pid>/maps
-@@ -302
1,10 +3031,7
@@ int shmem_zero_setup(struct vm_area_stru
+@@ -302
8,11 +3038,8
@@ int shmem_zero_setup(struct vm_area_stru
if (IS_ERR(file))
return PTR_ERR(file);
if (IS_ERR(file))
return PTR_ERR(file);
@@
-30,6
+30,7
@@
+
return 0;
}
+
return 0;
}
+
--- a/fs/file.c
+++ b/fs/file.c
@@ -268,6 +268,7 @@ int expand_files(struct files_struct *fi
--- a/fs/file.c
+++ b/fs/file.c
@@ -268,6 +268,7 @@ int expand_files(struct files_struct *fi
@@
-60,7
+61,7
@@
{
--- a/kernel/sched.c
+++ b/kernel/sched.c
{
--- a/kernel/sched.c
+++ b/kernel/sched.c
-@@ -49
05,6 +4905
,7 @@ int can_nice(const struct task_struct *p
+@@ -49
23,6 +4923
,7 @@ int can_nice(const struct task_struct *p
return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) ||
capable(CAP_SYS_NICE));
}
return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) ||
capable(CAP_SYS_NICE));
}
@@
-70,7
+71,7
@@
--- a/mm/memory.c
+++ b/mm/memory.c
--- a/mm/memory.c
+++ b/mm/memory.c
-@@ -139
3,6 +1393
,7 @@ unsigned long zap_page_range(struct vm_a
+@@ -139
6,6 +1396
,7 @@ unsigned long zap_page_range(struct vm_a
tlb_finish_mmu(&tlb, address, end);
return end;
}
tlb_finish_mmu(&tlb, address, end);
return end;
}
@@
-78,8
+79,8
@@
/**
* zap_vma_ptes - remove ptes mapping the vma
/**
* zap_vma_ptes - remove ptes mapping the vma
-@@ -
2819,6 +2820,7 @@ int vmtruncate_range(struct inode *inod
e
-
+@@ -
3071,6 +3072,7 @@ static inline int check_stack_guard_pag
e
+ }
return 0;
}
+EXPORT_SYMBOL_GPL(vmtruncate_range);
return 0;
}
+EXPORT_SYMBOL_GPL(vmtruncate_range);
@@
-88,7
+89,7
@@
* We enter with non-exclusive mmap_sem (to exclude vma changes,
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
* We enter with non-exclusive mmap_sem (to exclude vma changes,
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
-@@ -124
5,6 +1245
,7 @@ void unmap_kernel_range(unsigned long ad
+@@ -124
6,6 +1246
,7 @@ void unmap_kernel_range(unsigned long ad
vunmap_page_range(addr, end);
flush_tlb_kernel_range(addr, end);
}
vunmap_page_range(addr, end);
flush_tlb_kernel_range(addr, end);
}
@@
-96,7
+97,7
@@
int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
{
int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
{
-@@ -13
60,6 +1361
,7 @@ struct vm_struct *get_vm_area(unsigned l
+@@ -13
83,6 +1384
,7 @@ struct vm_struct *get_vm_area(unsigned l
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
-1, GFP_KERNEL, __builtin_return_address(0));
}
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
-1, GFP_KERNEL, __builtin_return_address(0));
}
@@
-106,7
+107,7
@@
void *caller)
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
void *caller)
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
-@@ -87
1,6 +871
,7 @@ extern bool skip_free_areas_node(unsigne
+@@ -87
0,6 +870
,7 @@ extern bool skip_free_areas_node(unsigne
int shmem_lock(struct file *file, int lock, struct user_struct *user);
struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags);
int shmem_lock(struct file *file, int lock, struct user_struct *user);
struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags);
This page took
0.026669 seconds
and
4
git commands to generate.