]> 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>
Wed, 26 Sep 2012 01:33:32 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:14 +0000 (17:26 +1000)
commit64b504eeb8d0519db3c31e29bbdd18d1136883f6
tree8a5f421e795f3f1316272a3ee4bcf6eeb0717ebb
parent02fae10bddd6dd1d9c88f9cc9eb99c77a7b0cdfe
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