[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110207143218.GA31197@kryptos.osrc.amd.com>
Date: Mon, 7 Feb 2011 15:32:18 +0100
From: Borislav Petkov <bp@...64.org>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: linux-tip-commits@...r.kernel.org, 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, fweisbec@...il.com, tglx@...utronix.de,
mingo@...e.hu
Subject: [PATCH] perf annotate: Fix build error
On Mon, Feb 07, 2011 at 07:54:58AM +0000, tip-bot for Arnaldo Carvalho de Melo wrote:
> Commit-ID: 78f7defedbb4da73b9a07635c357c1afcaa55c8f
> Gitweb: http://git.kernel.org/tip/78f7defedbb4da73b9a07635c357c1afcaa55c8f
> Author: Arnaldo Carvalho de Melo <acme@...hat.com>
> AuthorDate: Fri, 4 Feb 2011 09:45:46 -0200
> Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
> CommitDate: Sat, 5 Feb 2011 12:28:21 -0200
>
> perf annotate: Move annotate functions to util/
A small fix for when NO_NEWT_SUPPORT is defined.
--
From: Borislav Petkov <borislav.petkov@....com>
Date: Mon, 7 Feb 2011 15:26:52 +0100
Subject: [PATCH] perf annotate: Fix build error
Add a missing "struct" to the function prototype.
Signed-off-by: Borislav Petkov <borislav.petkov@....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;
--
1.7.4.rc1.7.g2cf08
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
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