perf tools: Fix build on older systems
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 May 2011 13:13:38 +0000 (10:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 May 2011 14:16:29 +0000 (11:16 -0300)
commit75911c9bd1134f8c0b682aa1e8a8dbefec3ca07a
tree284dd01cd1caa8814d07ed758d8fd71cc70167ac
parentec80fde746e3ccf93895d25ae1a7071c9af52585
perf tools: Fix build on older systems

Where /usr/include/linux/const.h is not present, e.g. RHEL5.

Reported-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Link: http://lkml.kernel.org/n/tip-ypcw2mu0w7dl1rrc6ncz3pee@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/util/include/linux/const.h [new file with mode: 0644]