projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream refresh for v1.5.0-rc1 : Upstream 19.07 : 4fb6b8c553f692eeb5bcb203e0f8ee8df0...
[librecmc/librecmc.git]
/
target
/
linux
/
generic
/
hack-4.14
/
902-debloat_proc.patch
diff --git
a/target/linux/generic/hack-4.14/902-debloat_proc.patch
b/target/linux/generic/hack-4.14/902-debloat_proc.patch
index 94553805685af2491afdb39dadd0280c5a201d1b..aedefb32b4f2cf1ed6dbef82eaf9c6c4fd6ca7b0 100644
(file)
--- a/
target/linux/generic/hack-4.14/902-debloat_proc.patch
+++ b/
target/linux/generic/hack-4.14/902-debloat_proc.patch
@@
-221,7
+221,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
if (!root_irq_dir)
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
if (!root_irq_dir)
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
-@@ -3
89,6 +389
,8 @@ static int __init init_timer_list_procfs
+@@ -3
90,6 +390
,8 @@ static int __init init_timer_list_procfs
{
struct proc_dir_entry *pe;
{
struct proc_dir_entry *pe;
@@
-232,7
+232,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
return -ENOMEM;
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
return -ENOMEM;
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
-@@ -27
70,6 +2770
,8 @@ static const struct file_operations proc
+@@ -27
83,6 +2783
,8 @@ static const struct file_operations proc
static int __init proc_vmalloc_init(void)
{
static int __init proc_vmalloc_init(void)
{
@@
-243,7
+243,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
}
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
-@@ -195
5,10 +1955
,12 @@ void __init init_mm_internals(void)
+@@ -195
0,10 +1950
,12 @@ void __init init_mm_internals(void)
start_shepherd_timer();
#endif
#ifdef CONFIG_PROC_FS
start_shepherd_timer();
#endif
#ifdef CONFIG_PROC_FS
@@
-327,7
+327,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/net/core/sock.c
+++ b/net/core/sock.c
--- a/net/core/sock.c
+++ b/net/core/sock.c
-@@ -33
82,6 +3382
,8 @@ static __net_initdata struct pernet_oper
+@@ -33
79,6 +3379
,8 @@ static __net_initdata struct pernet_oper
static int __init proto_init(void)
{
static int __init proto_init(void)
{
@@
-381,7
+381,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
-@@ -55
8,6 +558
,9 @@ static __net_initdata struct pernet_oper
+@@ -55
9,6 +559
,9 @@ static __net_initdata struct pernet_oper
int __init ip_misc_proc_init(void)
{
int __init ip_misc_proc_init(void)
{