lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 17 Jan 2012 13:34:17 +0100
From:	Bjørn Forsman <bjorn.forsman@...il.com>
To:	hskinnemoen@...il.com, egtvedt@...fundet.no,
	linux-kernel@...r.kernel.org
Cc:	Bjørn Forsman <bjorn.forsman@...il.com>
Subject: [PATCH] AVR32: unbreak build by enabling CONFIG_GENERIC_ATOMIC64

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@...il.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ