Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1633904 > unrolled thread

[PATCH 4.9 40/54] ARC: [plat-eznps] Fix build error

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-05-01 23:40 +0200
Last post2017-05-01 23:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.9 40/54] ARC: [plat-eznps] Fix build error Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-01 23:40 +0200

#1633904 — [PATCH 4.9 40/54] ARC: [plat-eznps] Fix build error

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-01 23:40 +0200
Subject[PATCH 4.9 40/54] ARC: [plat-eznps] Fix build error
Message-ID<tCrd1-5UI-53@gated-at.bofh.it>
4.9-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Noam Camus <noamca@mellanox.com>

commit 6492f09e864417d382e22b922ae30693a7ce2982 upstream.

Make ATOMIC_INIT available for all ARC platforms (including plat-eznps)

Signed-off-by: Noam Camus <noamca@mellanox.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arc/include/asm/atomic.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/arc/include/asm/atomic.h
+++ b/arch/arc/include/asm/atomic.h
@@ -17,10 +17,11 @@
 #include <asm/barrier.h>
 #include <asm/smp.h>
 
+#define ATOMIC_INIT(i)	{ (i) }
+
 #ifndef CONFIG_ARC_PLAT_EZNPS
 
 #define atomic_read(v)  READ_ONCE((v)->counter)
-#define ATOMIC_INIT(i)	{ (i) }
 
 #ifdef CONFIG_ARC_HAS_LLSC
 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web