[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-3812bba84f3d721ff7dc3bb90360bc5ed6771994@git.kernel.org>
Date: Mon, 27 Jun 2016 05:55:10 -0700
From: tip-bot for David Carrillo-Cisneros <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: davidcc@...gle.com, kan.liang@...el.com, acme@...hat.com,
vincent.weaver@...ne.edu, mingo@...nel.org,
torvalds@...ux-foundation.org, alexander.shishkin@...ux.intel.com,
peterz@...radead.org, linux-kernel@...r.kernel.org,
jolsa@...hat.com, hpa@...or.com, ak@...ux.intel.com,
tglx@...utronix.de, eranian@...gle.com
Subject: [tip:perf/core] perf/x86/intel: Fix trivial formatting and style
bug
Commit-ID: 3812bba84f3d721ff7dc3bb90360bc5ed6771994
Gitweb: http://git.kernel.org/tip/3812bba84f3d721ff7dc3bb90360bc5ed6771994
Author: David Carrillo-Cisneros <davidcc@...gle.com>
AuthorDate: Tue, 21 Jun 2016 11:31:12 -0700
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 27 Jun 2016 11:34:19 +0200
perf/x86/intel: Fix trivial formatting and style bug
Replace spaces by tabs in LBR_FROM_* constants to align with newly
defined constant. Use BIT_ULL.
Signed-off-by: David Carrillo-Cisneros <davidcc@...gle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Reviewed-by: Stephane Eranian <eranian@...gle.com>
Reviewed-by: Andi Kleen <ak@...ux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Kan Liang <kan.liang@...el.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Vince Weaver <vincent.weaver@...ne.edu>
Link: http://lkml.kernel.org/r/1466533874-52003-4-git-send-email-davidcc@google.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/events/intel/lbr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/events/intel/lbr.c b/arch/x86/events/intel/lbr.c
index 88093e0..0da0eb0 100644
--- a/arch/x86/events/intel/lbr.c
+++ b/arch/x86/events/intel/lbr.c
@@ -77,9 +77,9 @@ static enum {
LBR_IND_JMP |\
LBR_FAR)
-#define LBR_FROM_FLAG_MISPRED (1ULL << 63)
-#define LBR_FROM_FLAG_IN_TX (1ULL << 62)
-#define LBR_FROM_FLAG_ABORT (1ULL << 61)
+#define LBR_FROM_FLAG_MISPRED BIT_ULL(63)
+#define LBR_FROM_FLAG_IN_TX BIT_ULL(62)
+#define LBR_FROM_FLAG_ABORT BIT_ULL(61)
#define LBR_FROM_SIGNEXT_2MSB (BIT_ULL(60) | BIT_ULL(59))
Powered by blists - more mailing lists