diff options
author | Alex Shi <alex.shi@linaro.org> | 2016-06-20 11:08:26 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-06-20 11:08:26 +0800 |
commit | 9dfc31f311f8ec9ab20096a4eb50db51e11730d2 (patch) | |
tree | 70b129ee75fa98a7f3c9793b1f41274484c05ef9 | |
parent | 72316324660f953a8daee9bf9fcf942f7851b516 (diff) |
cgroup-defs: fix swork_event declare issuelinux-linaro-lsk-v4.1-rt-test
The struct swork_event defined in work-simple.h which doesn't included before
it was used in cgroup-defs.h file. That cause a compiler error:
include/linux/cgroup-defs.h:144:21: error: field 'destroy_swork' has incomplete type
add this head file and remove compiler issue.
Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r-- | include/linux/cgroup-defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 2f57332c2891..84a4cb3e87d0 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h @@ -16,6 +16,7 @@ #include <linux/percpu-refcount.h> #include <linux/percpu-rwsem.h> #include <linux/workqueue.h> +#include <linux/work-simple.h> #ifdef CONFIG_CGROUPS |