Re: [PATCH 2/2] perf, tools: Fix compilation without newt support

2013-03-06 Thread Namhyung Kim
On Wed, 6 Mar 2013 15:19:17 -0800, Andi Kleen wrote: > From: Andi Kleen > > Fix > > builtin-annotate.c: In function ‘hists__find_annotations’: > builtin-annotate.c:161:4: error: duplicate case value > builtin-annotate.c:154:4: error: previously used here > > and > > builtin-report.c:479:15: error

[PATCH 2/2] perf, tools: Fix compilation without newt support

2013-03-06 Thread Andi Kleen
From: Andi Kleen Fix builtin-annotate.c: In function ‘hists__find_annotations’: builtin-annotate.c:161:4: error: duplicate case value builtin-annotate.c:154:4: error: previously used here and builtin-report.c:479:15: error: ‘K_SWITCH_INPUT_DATA’ undeclared (first use in this function) builtin