]> git.karo-electronics.de Git - linux-beck.git/commit
perf tools: Fix build for another rbtree.c change
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 31 Aug 2012 07:49:27 +0000 (10:49 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 8 Sep 2012 01:21:59 +0000 (22:21 -0300)
commitb155a09015135cf59ada8d48109ccbd9891c1b42
tree7f28887cf8c5d7059416769e152e79f68ce32830
parentc9f08bee50c71b06685ccff8110e56a7c05662b7
perf tools: Fix build for another rbtree.c change

Fixes:

../../lib/rbtree.c: In function 'rb_insert_color':
../../lib/rbtree.c:95:9: error: 'true' undeclared (first use in this function)
../../lib/rbtree.c:95:9: note: each undeclared identifier is reported only once for each function it appears in
../../lib/rbtree.c: In function '__rb_erase_color':
../../lib/rbtree.c:216:9: error: 'true' undeclared (first use in this function)
../../lib/rbtree.c: In function 'rb_erase':
../../lib/rbtree.c:368:2: error: unknown type name 'bool'
make: *** [util/rbtree.o] Error 1

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/50406F60.5040707@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/include/linux/rbtree.h