]> git.baikalelectronics.ru Git - kernel.git/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)
commit8f5091919ae934dcf8ef9ba3d639e548a7e3f5e1
tree3108ae32bfb2bd5902b072c1f20e34ed501b7653
parent8c70f9f2a7f81cf80a633bb8d3844743267f5000
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