Skip to contentSkip to conversation

xtensa: select generic atomic64_t support

PATCH New Fengguang Wu 1 participant 1 message Jul 28, 2012 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: select generic atomic64_t support

This will fix build errors:

block/blk-cgroup.c:609:2: error: unknown type name 'atomic64_t'
block/blk-cgroup.c:609:2: error: implicit declaration of function 'ATOMIC64_INIT' [-Werror=implicit-function-declaration]

---
 arch/xtensa/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/xtensa/Kconfig +1 -0
@@ -11,6 +11,7 @@ config XTENSA
 	select GENERIC_IRQ_SHOW
 	select GENERIC_CPU_DEVICES
 	select MODULES_USE_ELF_RELA
+	select GENERIC_ATOMIC64
 	help
 	  Xtensa processors are 32-bit RISC machines designed by Tensilica
 	  primarily for embedded systems.  These processors are both