浏览代码

m68k: Enable atomic64_t

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Geert Uytterhoeven 15 年之前
父节点
当前提交
b417b71709
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      arch/m68k/Kconfig
  2. 2 0
      arch/m68k/include/asm/atomic.h

+ 1 - 0
arch/m68k/Kconfig

@@ -7,6 +7,7 @@ config M68K
 	default y
 	select HAVE_AOUT
 	select HAVE_IDE
+	select GENERIC_ATOMIC64
 
 config MMU
 	bool

+ 2 - 0
arch/m68k/include/asm/atomic.h

@@ -3,3 +3,5 @@
 #else
 #include "atomic_mm.h"
 #endif
+
+#include <asm-generic/atomic64.h>