Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Pranith Kumar and committed by
H. Peter Anvin
73679e50 c9eaa447

-3
-3
include/linux/compiler-intel.h
··· 13 13 /* Intel ECC compiler doesn't support gcc specific asm stmts. 14 14 * It uses intrinsics to do the equivalent things. 15 15 */ 16 - #undef barrier 17 16 #undef RELOC_HIDE 18 17 #undef OPTIMIZER_HIDE_VAR 19 - 20 - #define barrier() __memory_barrier() 21 18 22 19 #define RELOC_HIDE(ptr, off) \ 23 20 ({ unsigned long __ptr; \