]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
xtensa: select generic atomic64_t support
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 31 Jul 2012 23:41:33 +0000 (16:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Aug 2012 01:42:39 +0000 (18:42 -0700)
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]

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/xtensa/Kconfig

index 8a3f8351f4380d5ff8da08978ceb83fd4d19d689..8ed64cfae4ff1f46953315f04853ce06831394f5 100644 (file)
@@ -7,6 +7,7 @@ config ZONE_DMA
 config XTENSA
        def_bool y
        select HAVE_IDE
+       select GENERIC_ATOMIC64
        select HAVE_GENERIC_HARDIRQS
        select GENERIC_IRQ_SHOW
        select GENERIC_CPU_DEVICES