aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSumit Singh <sumsingh@nvidia.com>2014-04-23 11:06:58 +0530
committerMoyster <oysterized@gmail.com>2016-09-10 12:07:05 +0200
commit31be1c0652bbf0abb91908d44aea3d7778300266 (patch)
tree0671b534cbc3ef9e51c9b425b66d148e1bfc2b78 /include/asm-generic
parentb4ac0446fc66aea5c5452c9063a161f0deb8634f (diff)
asm-generic: 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-generic/relaxed.h. Bug 1440421 Change-Id: I5d1ba25755e1c9d33b080dfe01ba838289f306af Signed-off-by: Sumit Singh <sumsingh@nvidia.com> Reviewed-on: http://git-master/r/400093 (cherry picked from commit 57eb21e2d4cad3ce1f85283cfffd0eff85a6d17d) Reviewed-on: http://git-master/r/422209 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 'include/asm-generic')
-rw-r--r--include/asm-generic/processor.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-generic/processor.h b/include/asm-generic/processor.h
index cba2d9edf..0b57d920c 100644
--- a/include/asm-generic/processor.h
+++ b/include/asm-generic/processor.h
@@ -15,13 +15,7 @@
#ifndef _ASM_GENERIC_PROCESSOR_H_
#define _ASM_GENERIC_PROCESSOR_H_
-#ifndef cpu_relaxed_read
-#define cpu_relaxed_read(p) (*(p))
-#endif
-
-#ifndef cpu_relaxed_read_long
-#define cpu_relaxed_read_long(p) (*(p))
-#endif
+#include <asm-generic/relaxed.h>
#ifndef cpu_read_relax
#define cpu_read_relax() cpu_relax()