projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9eaa44
)
compiler-intel.h: Remove duplicate definition
author
Pranith Kumar
<bobby.prani@gmail.com>
Tue, 15 Apr 2014 16:05:22 +0000
(12:05 -0400)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 15 Apr 2014 16:15:39 +0000
(09:15 -0700)
barrier is already defined as __memory_barrier in compiler.h
Remove this unnecessary redefinition.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Link:
http://lkml.kernel.org/r/CAJhHMCAnYPy0%2BqD-1KBnJPLt3XgAjdR12j%2BySSnPgmZcpbE7HQ@mail.gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/linux/compiler-intel.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/compiler-intel.h
b/include/linux/compiler-intel.h
index 5529c52394219a25f274143aaab152bed8b4e157..ba147a1727e6d2fc22c7899fcb5830803c629f41 100644
(file)
--- a/
include/linux/compiler-intel.h
+++ b/
include/linux/compiler-intel.h
@@
-13,12
+13,9
@@
/* Intel ECC compiler doesn't support gcc specific asm stmts.
* It uses intrinsics to do the equivalent things.
*/
-#undef barrier
#undef RELOC_HIDE
#undef OPTIMIZER_HIDE_VAR
-#define barrier() __memory_barrier()
-
#define RELOC_HIDE(ptr, off) \
({ unsigned long __ptr; \
__ptr = (unsigned long) (ptr); \