]> 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, 28 Sep 2012 00:19:27 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:00:56 +0000 (14:00 +1000)
commit9d54f4acea2738ab884dc75a6d1e26b9f5c3e6e4
tree92aed624a1f8d2e121d001f1045d4fec96c69699
parent137d2859608b89d268ab456c20d14f80c18ba1a3
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