summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-10-04 13:30:25 (GMT)
committerScott Wood <scottwood@freescale.com>2013-04-04 22:09:37 (GMT)
commit2ca1440b3c62810b25dc2ed08835d88e5494de0d (patch)
tree2f885f444dadd40c554d5789ee053ad9395a4353 /include
parent25d3d97b1361fae3e15cb37335479abe8369e0fa (diff)
downloadlinux-fsl-qoriq-2ca1440b3c62810b25dc2ed08835d88e5494de0d.tar.xz
softirq: Make serving softirqs a task flag
Avoid the percpu softirq_runner pointer magic by using a task flag. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index b0cde41..2fce5ed 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1856,6 +1856,7 @@ extern void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut,
/*
* Per process flags
*/
+#define PF_IN_SOFTIRQ 0x00000001 /* Task is serving softirq */
#define PF_EXITING 0x00000004 /* getting shut down */
#define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */
#define PF_VCPU 0x00000010 /* I'm a virtual CPU */