diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/padata.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h index 621e7736690..293ad46ffce 100644 --- a/include/linux/padata.h +++ b/include/linux/padata.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/list.h> | 26 | #include <linux/list.h> |
27 | #include <linux/timer.h> | 27 | #include <linux/timer.h> |
28 | #include <linux/notifier.h> | 28 | #include <linux/notifier.h> |
29 | #include <linux/kobject.h> | ||
29 | 30 | ||
30 | #define PADATA_CPU_SERIAL 0x01 | 31 | #define PADATA_CPU_SERIAL 0x01 |
31 | #define PADATA_CPU_PARALLEL 0x02 | 32 | #define PADATA_CPU_PARALLEL 0x02 |
@@ -142,7 +143,8 @@ struct parallel_data { | |||
142 | * cbcpu for parallel and serial works respectivly. | 143 | * cbcpu for parallel and serial works respectivly. |
143 | * @cpumask_change_notifier: Notifiers chain for user-defined notify | 144 | * @cpumask_change_notifier: Notifiers chain for user-defined notify |
144 | * callbacks that will be called when either @pcpu or @cbcpu | 145 | * callbacks that will be called when either @pcpu or @cbcpu |
145 | * or both cpumasks change. | 146 | * or both cpumasks change. |
147 | * @kobj: padata instance kernel object. | ||
146 | * @lock: padata instance lock. | 148 | * @lock: padata instance lock. |
147 | * @flags: padata flags. | 149 | * @flags: padata flags. |
148 | */ | 150 | */ |
@@ -155,6 +157,7 @@ struct padata_instance { | |||
155 | cpumask_var_t cbcpu; | 157 | cpumask_var_t cbcpu; |
156 | } cpumask; | 158 | } cpumask; |
157 | struct blocking_notifier_head cpumask_change_notifier; | 159 | struct blocking_notifier_head cpumask_change_notifier; |
160 | struct kobject kobj; | ||
158 | struct mutex lock; | 161 | struct mutex lock; |
159 | u8 flags; | 162 | u8 flags; |
160 | #define PADATA_INIT 1 | 163 | #define PADATA_INIT 1 |