mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] AVR32: unbreak build by enabling CONFIG_GENERIC_ATOMIC64
@ 2012-01-17 12:34 Bjørn Forsman
  0 siblings, 0 replies; only message in thread
From: Bjørn Forsman @ 2012-01-17 12:34 UTC (permalink / raw)
  To: hskinnemoen, egtvedt, linux-kernel; +Cc: Bjørn Forsman

Fix this build error on AVR32:

  kernel/trace/trace_clock.c:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘trace_counter’
  kernel/trace/trace_clock.c: In function ‘trace_clock_counter’:
  kernel/trace/trace_clock.c:126: error: implicit declaration of function ‘atomic64_add_return’
  kernel/trace/trace_clock.c:126: error: ‘trace_counter’ undeclared (first use in this function)
  kernel/trace/trace_clock.c:126: error: (Each undeclared identifier is reported only once
  kernel/trace/trace_clock.c:126: error: for each function it appears in.)
  make[2]: *** [kernel/trace/trace_clock.o] Error 1

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
---
I'm not on the list so please keep me in the To/Cc field.

 arch/avr32/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index 197e96f..bb521c1 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -10,6 +10,7 @@ config AVR32
 	select GENERIC_IRQ_PROBE
 	select HARDIRQS_SW_RESEND
 	select GENERIC_IRQ_SHOW
+	select GENERIC_ATOMIC64
 	select ARCH_HAVE_NMI_SAFE_CMPXCHG
 	help
 	  AVR32 is a high-performance 32-bit RISC microprocessor core,
-- 
1.7.5.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-17 12:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-17 12:34 [PATCH] AVR32: unbreak build by enabling CONFIG_GENERIC_ATOMIC64 Bjørn Forsman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®