projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workqueue: Assign a color to barrier work items
[linux-2.6-microblaze.git]
/
kernel
/
workqueue_internal.h
diff --git
a/kernel/workqueue_internal.h
b/kernel/workqueue_internal.h
index
498de0e
..
e00b120
100644
(file)
--- a/
kernel/workqueue_internal.h
+++ b/
kernel/workqueue_internal.h
@@
-30,7
+30,8
@@
struct worker {
struct work_struct *current_work; /* L: work being processed */
work_func_t current_func; /* L: current_work's fn */
struct work_struct *current_work; /* L: work being processed */
work_func_t current_func; /* L: current_work's fn */
- struct pool_workqueue *current_pwq; /* L: current_work's pwq */
+ struct pool_workqueue *current_pwq; /* L: current_work's pwq */
+ unsigned int current_color; /* L: current_work's color */
struct list_head scheduled; /* L: scheduled works */
/* 64 bytes boundary on 64bit, 32 on 32bit */
struct list_head scheduled; /* L: scheduled works */
/* 64 bytes boundary on 64bit, 32 on 32bit */