From 31be1c0652bbf0abb91908d44aea3d7778300266 Mon Sep 17 00:00:00 2001 From: Sumit Singh Date: Wed, 23 Apr 2014 11:06:58 +0530 Subject: 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 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 Signed-off-by: franciscofranco --- include/asm-generic/processor.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/asm-generic') 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 #ifndef cpu_read_relax #define cpu_read_relax() cpu_relax() -- cgit v1.2.3