[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-a2221796256ea7b236cec6bf027c1c1de5b8ccd7@git.kernel.org>
Date: Tue, 8 Feb 2011 15:18:26 GMT
From: tip-bot for Borislav Petkov <bp@...64.org>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, linux-kernel@...r.kernel.org, eranian@...gle.com,
paulus@...ba.org, hpa@...or.com, mingo@...hat.com,
tzanussi@...il.com, peterz@...radead.org, efault@....de,
bp@...64.org, fweisbec@...il.com, tglx@...utronix.de,
borislav.petkov@....com, mingo@...e.hu
Subject: [tip:perf/core] perf annotate: Fix build error
Commit-ID: a2221796256ea7b236cec6bf027c1c1de5b8ccd7
Gitweb: http://git.kernel.org/tip/a2221796256ea7b236cec6bf027c1c1de5b8ccd7
Author: Borislav Petkov <bp@...64.org>
AuthorDate: Mon, 7 Feb 2011 15:32:18 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Mon, 7 Feb 2011 12:41:55 -0200
perf annotate: Fix build error
A small fix for when NO_NEWT_SUPPORT is defined.
Add a missing "struct" to the function prototype.
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Mike Galbraith <efault@....de>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tom Zanussi <tzanussi@...il.com>
LKML-Reference: <20110207143218.GA31197@...ptos.osrc.amd.com>
Signed-off-by: Borislav Petkov <borislav.petkov@....com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/annotate.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index b1253aa..bc08b36 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -82,7 +82,7 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx,
int max_lines);
#ifdef NO_NEWT_SUPPORT
-static inline int symbol__tui_annotate(symbol *sym __used,
+static inline int symbol__tui_annotate(struct symbol *sym __used,
struct map *map __used, int evidx __used)
{
return 0;
--
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