]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tools: fix build for another rbtree.c change
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 7 Sep 2012 00:23:48 +0000 (10:23 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:20 +0000 (15:36 +1000)
commitbde4660b276e3ba1f5cb05ff8dc4f2e175902cd3
tree04ce841f2a3402d305095266cae5d5853fa2c931
parent90e7e57d99887c6759187f41541595239ac3e48b
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>
Reported-by: Alexander Shishkin <alexander.shishkin@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/perf/util/include/linux/rbtree.h