aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1/902-debloat_proc.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2015-10-25 17:32:01 +0000
committerHauke Mehrtens <hauke@openwrt.org>2015-10-25 17:32:01 +0000
commita2f2aac2dc0cabbd130a1e596c923e770feb54e8 (patch)
tree300d8288341cc7b1740c9f070ed975cd41e5a5ad /target/linux/generic/patches-4.1/902-debloat_proc.patch
parentf1c10369648e1ca775895d34450cae561e5ee75d (diff)
downloadmaster-187ad058-a2f2aac2dc0cabbd130a1e596c923e770feb54e8.tar.gz
master-187ad058-a2f2aac2dc0cabbd130a1e596c923e770feb54e8.tar.bz2
master-187ad058-a2f2aac2dc0cabbd130a1e596c923e770feb54e8.zip
kernel: update kernel 4.1 to version 4.1.11
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47252 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-4.1/902-debloat_proc.patch')
-rw-r--r--target/linux/generic/patches-4.1/902-debloat_proc.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/patches-4.1/902-debloat_proc.patch b/target/linux/generic/patches-4.1/902-debloat_proc.patch
index bf85100283..8207dadffe 100644
--- a/target/linux/generic/patches-4.1/902-debloat_proc.patch
+++ b/target/linux/generic/patches-4.1/902-debloat_proc.patch
@@ -79,17 +79,17 @@
}
--- a/kernel/irq/proc.c
+++ b/kernel/irq/proc.c
-@@ -325,6 +325,9 @@ void register_irq_proc(unsigned int irq,
- {
+@@ -327,6 +327,9 @@ void register_irq_proc(unsigned int irq,
+ static DEFINE_MUTEX(register_lock);
char name [MAX_NAMELEN];
+ if (IS_ENABLED(CONFIG_PROC_STRIPPED) && !IS_ENABLED(CONFIG_SMP))
+ return;
+
- if (!root_irq_dir || (desc->irq_data.chip == &no_irq_chip) || desc->dir)
+ if (!root_irq_dir || (desc->irq_data.chip == &no_irq_chip))
return;
-@@ -361,6 +364,9 @@ void unregister_irq_proc(unsigned int ir
+@@ -376,6 +379,9 @@ void unregister_irq_proc(unsigned int ir
{
char name [MAX_NAMELEN];
@@ -99,7 +99,7 @@
if (!root_irq_dir || !desc->dir)
return;
#ifdef CONFIG_SMP
-@@ -396,6 +402,9 @@ void init_irq_proc(void)
+@@ -411,6 +417,9 @@ void init_irq_proc(void)
unsigned int irq;
struct irq_desc *desc;