]> Pileus Git - ~andy/linux/commit
include/linux/genalloc.h: spinlock_t needs spinlock_types.h
authorShawn Guo <shawn.guo@linaro.org>
Thu, 23 Jan 2014 23:53:18 +0000 (15:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:52 +0000 (16:36 -0800)
commitb30afea019a4548ee77b73e83f03104e0e3a0556
tree3108ae32bfb2bd5902b072c1f20e34ed501b7653
parentbd7278166aaf8b33da1a3ee437354e2ed88bf70f
include/linux/genalloc.h: spinlock_t needs spinlock_types.h

Compiling a C file which includes genalloc.h but without
spinlock_types.h being included before, we will see the compile error
below.

 include/linux/genalloc.h:54:2: error: unknown type name `spinlock_t'

Include spinlock_types.h from genalloc.h to fix the problem.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/genalloc.h