Skip to contentSkip to conversation

Patch "ARC: [plat-eznps] Fix build error" has been added to the 4.10-stable tree

PATCH [email protected] 1 participant 1 message Apr 30, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARC: [plat-eznps] Fix build error

to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arc-fix-build-error.patch
and it can be found in the queue-4.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 6492f09e864417d382e22b922ae30693a7ce2982 Mon Sep 17 00:00:00 2001

From: Noam Camus <[email protected]>
Date: Tue, 4 Apr 2017 11:00:41 +0300
Subject: ARC: [plat-eznps] Fix build error

From: Noam Camus <[email protected]>

commit 6492f09e864417d382e22b922ae30693a7ce2982 upstream.

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

---
 arch/arc/include/asm/atomic.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arc/include/asm/atomic.h +2 -1
@@ -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
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.10/arc-fix-build-error.patch