summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64')
-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 2d19877563fa..28ce9d02145f 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
@@ -149,8 +149,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 */