aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2015-06-25 15:01:05 -0700
committerLinus Torvalds <[email protected]>2015-06-25 17:00:38 -0700
commitb86a50c3b5414eafdbee7f34af4a201a4a7817c2 (patch)
tree3d117aa97c2da11b082d72a16939cb94368cb56b /tools/perf/scripts/python
parentcb984d101b30eb7478d32df56a0023e4603cba7f (diff)
compiler-intel: fix wrong compiler barrier() macro
Cleanup commit 73679e508201 ("compiler-intel.h: Remove duplicate definition") removed the double definition of __memory_barrier() intrinsics. However, in doing so, it also removed the preceding #undef barrier by accident, meaning, the actual barrier() macro from compiler-gcc.h with inline asm is still in place as __GNUC__ is provided. Subsequently, barrier() can never be defined as __memory_barrier() from compiler.h since it already has a definition in place and if we trust the comment in compiler-intel.h, ecc doesn't support gcc specific asm statements. I don't have an ecc at hand (unsure if that's still used in the field?) and only found this by accident during code review, a revert of that cleanup would be simplest option. Fixes: 73679e508201 ("compiler-intel.h: Remove duplicate definition") Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Pranith Kumar <[email protected]> Cc: Pranith Kumar <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: mancha security <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions