瀏覽代碼

[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 20 年之前
父節點
當前提交
5998bf1ddb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.
  * edit all arch specific atomic.h files.
  */
  */
 
 
+#include <asm/types.h>
 
 
 /*
 /*
  * Suppport for atomic_long_t
  * Suppport for atomic_long_t