summaryrefslogtreecommitdiffstats
path: root/softirq-Name-hrtimer-softirq-also-when-CONFIG_HIGH_R.patch
blob: 0f22558ec0281fdb327d1f452e53db4a91cf1e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 8757535ad72b1ed3fc9f83ae1a9a37e87425ec3d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 13 Oct 2009 18:52:52 +0200
Subject: [PATCH] softirq: Name hrtimer softirq also when CONFIG_HIGH_RES_TIMERS=n

commit d2638539b55c202e07deb4730cd8620174c757e8 in tip.

Remy Bohmer pointed out that we create the hrtimer softirq thread even
when CONFIG_HIGH_RES_TIMERS is off. That results in a softirq-NULL
name for the thread. The thread is needed on -rt

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 kernel/softirq.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index f0b863e..533b72c 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -1138,9 +1138,7 @@ static const char *softirq_names [] =
   [BLOCK_SOFTIRQ]	= "block",
   [BLOCK_IOPOLL_SOFTIRQ]= "block-iopoll",
   [TASKLET_SOFTIRQ]	= "tasklet",
-#ifdef CONFIG_HIGH_RES_TIMERS
   [HRTIMER_SOFTIRQ]	= "hrtimer",
-#endif
   [RCU_SOFTIRQ]		= "rcu",
 };
 
-- 
1.7.0.4