aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6/902-debloat_proc.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-05-02 15:28:12 +0000
committerJonas Gorski <jogo@openwrt.org>2013-05-02 15:28:12 +0000
commita08aa460608fc9b20f1088b8c17a99f6414ab98f (patch)
tree9c48fc09fe92263da92faf6c16422a59e85d6bc4 /target/linux/generic/patches-3.6/902-debloat_proc.patch
parent67fe3b7ad49e7a5bf805a1d742c6e14e78882786 (diff)
downloadupstream-a08aa460608fc9b20f1088b8c17a99f6414ab98f.tar.gz
upstream-a08aa460608fc9b20f1088b8c17a99f6414ab98f.tar.bz2
upstream-a08aa460608fc9b20f1088b8c17a99f6414ab98f.zip
kernel: generic: don't strip /proc/irq on SMP
/proc/irq is needed for changing the SMP affinity of interrupts. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36525 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.6/902-debloat_proc.patch')
-rw-r--r--target/linux/generic/patches-3.6/902-debloat_proc.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.6/902-debloat_proc.patch b/target/linux/generic/patches-3.6/902-debloat_proc.patch
index 5133a107df..f3fd777277 100644
--- a/target/linux/generic/patches-3.6/902-debloat_proc.patch
+++ b/target/linux/generic/patches-3.6/902-debloat_proc.patch
@@ -83,7 +83,7 @@
{
char name [MAX_NAMELEN];
-+ if (IS_ENABLED(CONFIG_PROC_STRIPPED))
++ if (IS_ENABLED(CONFIG_PROC_STRIPPED) && !IS_ENABLED(CONFIG_SMP))
+ return;
+
if (!root_irq_dir || (desc->irq_data.chip == &no_irq_chip) || desc->dir)
@@ -93,7 +93,7 @@
{
char name [MAX_NAMELEN];
-+ if (IS_ENABLED(CONFIG_PROC_STRIPPED))
++ if (IS_ENABLED(CONFIG_PROC_STRIPPED) && !IS_ENABLED(CONFIG_SMP))
+ return;
+
if (!root_irq_dir || !desc->dir)
@@ -103,7 +103,7 @@
unsigned int irq;
struct irq_desc *desc;
-+ if (IS_ENABLED(CONFIG_PROC_STRIPPED))
++ if (IS_ENABLED(CONFIG_PROC_STRIPPED) && !IS_ENABLED(CONFIG_SMP))
+ return;
+
/* create /proc/irq */