[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJhHMCAnYPy0+qD-1KBnJPLt3XgAjdR12j+ySSnPgmZcpbE7HQ@mail.gmail.com>
Date: Tue, 15 Apr 2014 12:05:22 -0400
From: Pranith Kumar <bobby.prani@...il.com>
To: "H. Peter Anvin" <hpa@...ux.intel.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/1] include/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@...il.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); \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists