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>2015-02-13 22:21:08 (GMT)
commitd64accdd6c7c91ae0f2333bab3d83f6898f2693d (patch)
treecd39e95aa0c61d87d5e5250fef7e692412ecddda /include
parent5eb28e23b90efcdfd3b64d93db808bf9e2187d2e (diff)
downloadlinux-fsl-qoriq-d64accdd6c7c91ae0f2333bab3d83f6898f2693d.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 ed6a291..f828f8b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1690,6 +1690,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 */