mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Link: http://lkml.kernel.org/r/CAJhHMCAnYPy0%2BqD-1KBnJPLt3XgAjdR12j%[email protected] Signed-off-by: H. Peter Anvin <[email protected]>
This commit is contained in:
1 parent
c9eaa447e7
commit
73679e5082
1 file changed
-3
@@ -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); \
|
||||
|
||||
Reference in new issue
Block a user