From: "Bjørn Forsman" <bjorn.forsman@gmail.com>
To: hskinnemoen@gmail.com, egtvedt@samfundet.no,
linux-kernel@vger.kernel.org
Cc: "Bjørn Forsman" <bjorn.forsman@gmail.com>
Subject: [PATCH] AVR32: unbreak build by enabling CONFIG_GENERIC_ATOMIC64
Date: Tue, 17 Jan 2012 13:34:17 +0100 [thread overview]
Message-ID: <1326803657-18557-1-git-send-email-bjorn.forsman@gmail.com> (raw)
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
reply other threads:[~2012-01-17 12:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326803657-18557-1-git-send-email-bjorn.forsman@gmail.com \
--to=bjorn.forsman@gmail.com \
--cc=egtvedt@samfundet.no \
--cc=hskinnemoen@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®