aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-20 13:28:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-20 13:28:56 -0400
commit0bbfcaff9b2a69c71a95e6902253487ab30cb498 (patch)
treef422bbfb8ba57909bf6e43f1d560b3f056cc3c61 /include/linux/sched.h
parent5928a2b60cfdbad730f93696acab142d0b607280 (diff)
parente04268b0effc0ceea366c50b3107baad9edadafa (diff)
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq/core changes for v3.4 from Ingo Molnar * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq: Remove paranoid warnons and bogus fixups genirq: Flush the irq thread on synchronization genirq: Get rid of unnecessary IRQTF_DIED flag genirq: No need to check IRQTF_DIED before stopping a thread handler genirq: Get rid of unnecessary irqaction field in task_struct genirq: Fix incorrect check for forced IRQ thread handler softirq: Reduce invoke_softirq() code duplication genirq: Fix long-term regression in genirq irq_set_irq_type() handling x86-32/irq: Don't switch to irq stack for a user-mode irq
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index f58889b8a608..e345163da657 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1319,6 +1319,11 @@ struct task_struct {
1319 unsigned sched_reset_on_fork:1; 1319 unsigned sched_reset_on_fork:1;
1320 unsigned sched_contributes_to_load:1; 1320 unsigned sched_contributes_to_load:1;
1321 1321
1322#ifdef CONFIG_GENERIC_HARDIRQS
1323 /* IRQ handler threads */
1324 unsigned irq_thread:1;
1325#endif
1326
1322 pid_t pid; 1327 pid_t pid;
1323 pid_t tgid; 1328 pid_t tgid;
1324 1329
@@ -1427,11 +1432,6 @@ struct task_struct {
1427 * mempolicy */ 1432 * mempolicy */
1428 spinlock_t alloc_lock; 1433 spinlock_t alloc_lock;
1429 1434
1430#ifdef CONFIG_GENERIC_HARDIRQS
1431 /* IRQ handler threads */
1432 struct irqaction *irqaction;
1433#endif
1434
1435 /* Protection of the PI data structures: */ 1435 /* Protection of the PI data structures: */
1436 raw_spinlock_t pi_lock; 1436 raw_spinlock_t pi_lock;
1437 1437