lkml.org 
[lkml]   [2012]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[Patch] avr32: select GENERIC_ATOMIC64
Date
avr32 doesn't implement atomic64_ operations, if not select this,
we would get:

kernel/trace/trace_clock.c:117: error: syntax error before 'trace_counter'
kernel/trace/trace_clock.c:126: error: implicit declaration of function 'atomic64_add_return'

Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index 197e96f..6ecb8f4 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -11,6 +11,7 @@ config AVR32
select HARDIRQS_SW_RESEND
select GENERIC_IRQ_SHOW
select ARCH_HAVE_NMI_SAFE_CMPXCHG
+ select GENERIC_ATOMIC64
help
AVR32 is a high-performance 32-bit RISC microprocessor core,
designed for cost-sensitive embedded applications, with particular

\
 
 \ /
  Last update: 2012-02-03 08:07    [W:0.033 / U:1.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site