Skip to content

Commit 73679e5

Browse files
pranithH. Peter Anvin
authored andcommitted
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>
1 parent c9eaa44 commit 73679e5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎include/linux/compiler-intel.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313
/* Intel ECC compiler doesn't support gcc specific asm stmts.
1414
* It uses intrinsics to do the equivalent things.
1515
*/
16-
#undef barrier
1716
#undef RELOC_HIDE
1817
#undef OPTIMIZER_HIDE_VAR
1918

20-
#define barrier() __memory_barrier()
21-
2219
#define RELOC_HIDE(ptr, off) \
2320
({ unsigned long __ptr; \
2421
__ptr = (unsigned long) (ptr); \

0 commit comments

Comments
 (0)