aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/processor.h
diff options
context:
space:
mode:
authorSumit Singh <sumsingh@nvidia.com>2014-04-23 11:56:55 +0530
committerMoyster <oysterized@gmail.com>2016-09-10 12:07:09 +0200
commit0dcf1e209cc28379d6f00c67c8a65ee223ece746 (patch)
tree782ab1fe81e602f561e8f391e1c0d097b2fdf7a5 /arch/arm64/include/asm/processor.h
parentc9e9fabea850ae38ba17d7ae8765858abb3f4307 (diff)
arm64: processor.h: remove redundant macros
Removing cpu_relaxed_read and cpu_relaxed_read_long macros from processor.h, as these macros are defined in asm/relaxed.h. bug 1440421 Change-Id: Ic766ac6e34eefe93f90349c088626a0fb277670c Signed-off-by: Sumit Singh <sumsingh@nvidia.com> Reviewed-on: http://git-master/r/400127 (cherry picked from commit 108bf0b30d72c52e33dd4fec71dd1ed5baf13ed2) Reviewed-on: http://git-master/r/422214 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Diffstat (limited to 'arch/arm64/include/asm/processor.h')
-rw-r--r--arch/arm64/include/asm/processor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 89c84b118..d3dd246ed 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -34,7 +34,7 @@
#include <asm/hw_breakpoint.h>
#include <asm/ptrace.h>
#include <asm/types.h>
-#include <asm/atomic.h>
+#include <asm/relaxed.h>
#ifdef __KERNEL__
#define STACK_TOP_MAX TASK_SIZE_64
@@ -126,8 +126,6 @@ unsigned long get_wchan(struct task_struct *p);
#define cpu_relax() barrier()
-#define cpu_relaxed_read(p) ldax32(p)
-#define cpu_relaxed_read_long(p) ldax64((u64 *)p)
#define cpu_read_relax() wfe()
/* Thread switching */