]> 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>
Thu, 13 Sep 2012 00:58:49 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:45:56 +0000 (20:45 +1000)
commitcfa9bc9be8c57d987cf47e95bf71adb819a6398d
tree46fe4a043c6fa3b5326b05d89238e892d3f4e7a0
parentc4836efaf993c6140d7b57f3ac09a4a23a21e40d
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