* [PATCH 1/1] include/linux/compiler-intel.h: remove duplicate definition
@ 2014-04-15 16:05 Pranith Kumar
2014-04-15 16:18 ` [tip:x86/build] compiler-intel.h: Remove " tip-bot for Pranith Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Pranith Kumar @ 2014-04-15 16:05 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: LKML
barrier is already defined as __memory_barrier in compiler.h
Remove this unnecessary redefinition.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
---
include/linux/compiler-intel.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/compiler-
intel.h b/include/linux/compiler-intel.h
index 5529c52..ba147a1 100644
--- 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); \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/build] compiler-intel.h: Remove duplicate definition
2014-04-15 16:05 [PATCH 1/1] include/linux/compiler-intel.h: remove duplicate definition Pranith Kumar
@ 2014-04-15 16:18 ` tip-bot for Pranith Kumar
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Pranith Kumar @ 2014-04-15 16:18 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, bobby.prani, tglx, hpa
Commit-ID: 73679e50820123ebdedc67ebcda4562d1d6e4aba
Gitweb: http://git.kernel.org/tip/73679e50820123ebdedc67ebcda4562d1d6e4aba
Author: Pranith Kumar <bobby.prani@gmail.com>
AuthorDate: Tue, 15 Apr 2014 12:05:22 -0400
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Tue, 15 Apr 2014 09:15:39 -0700
compiler-intel.h: Remove duplicate definition
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 | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/compiler-intel.h b/include/linux/compiler-intel.h
index 5529c52..ba147a1 100644
--- 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); \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-15 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 16:05 [PATCH 1/1] include/linux/compiler-intel.h: remove duplicate definition Pranith Kumar
2014-04-15 16:18 ` [tip:x86/build] compiler-intel.h: Remove " tip-bot for Pranith Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox