perf test: Fix build on older glibcs
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 23 Jan 2011 01:14:20 +0000 (23:14 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 23 Jan 2011 01:14:20 +0000 (23:14 -0200)
commit57b84e53171ce672683faf1cab2e660965a6bdaf
treeda17c60c30b5adf374b599804d3a28aa5c5280ce
parent01bb2dc4e47639c8e7eddb1718720a051bcdc955
perf test: Fix build on older glibcs

Where we don't have CPU_ALLOC & friends. As the tools are being used in older
distros where the only allowed change are to replace the kernel, like RHEL4 and
5.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-test.c