2014-04-14 22:34:49

by Pranith Kumar

[permalink] [raw]
Subject: [PATCH 1/1] remove duplicate definition

Signed-off-by: Pranith Kumar <[email protected]>
---
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); \
--
1.9.1

--
Pranith


2014-04-15 16:00:32

by H. Peter Anvin

[permalink] [raw]
Subject: Re: [PATCH 1/1] remove duplicate definition

On 04/14/2014 03:34 PM, Pranith Kumar wrote:
> Signed-off-by: Pranith Kumar <[email protected]>

Please add an detailed description of the patch.

-hpa