From: Glauber Costa Date: Thu, 29 Nov 2012 03:17:06 +0000 (+1100) Subject: move include of workqueue.h to top of slab.h file X-Git-Tag: next-20121205~1^2~366 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=291fb86344331ce737eee4549dea188e79c239fa;p=karo-tx-linux.git move include of workqueue.h to top of slab.h file Suggested by akpm. I originally decided to put it closer to the use of the work struct, but let's move it to top. Signed-off-by: Glauber Costa Cc: Michal Hocko Reviewed-by: KAMEZAWA Hiroyuki Cc: Johannes Weiner Acked-by: David Rientjes Signed-off-by: Andrew Morton --- diff --git a/include/linux/slab.h b/include/linux/slab.h index b63152938123..869efb8d2377 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -11,6 +11,8 @@ #include #include +#include + /* * Flags to pass to kmem_cache_create(). @@ -179,8 +181,6 @@ void kmem_cache_free(struct kmem_cache *, void *); #ifndef ARCH_SLAB_MINALIGN #define ARCH_SLAB_MINALIGN __alignof__(unsigned long long) #endif - -#include /* * This is the main placeholder for memcg-related information in kmem caches. * struct kmem_cache will hold a pointer to it, so the memory cost while