Browse Source

[PATCH] asm-generic/atomic.h needs types.h

For BITS_PER_LONG

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton 19 năm trước cách đây
mục cha
commit
5998bf1ddb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/asm-generic/atomic.h

+ 1 - 0
include/asm-generic/atomic.h

@@ -8,6 +8,7 @@
  * edit all arch specific atomic.h files.
  */
 
+#include <asm/types.h>
 
 /*
  * Suppport for atomic_long_t