perf: Version String fix, for fallback if not from git
authorThavidu Ranatunga <tharan@au1.ibm.com>
Mon, 5 Jul 2010 08:00:15 +0000 (18:00 +1000)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Jul 2010 08:42:58 +0000 (10:42 +0200)
commit869599ceda4a035cdb3345c563b74cdeef10f790
treec92e7227a0a6242e0ed67f2471dde66356ba4d5a
parent2190de2f59b3a371f7a5bf8dcc7a0c3f71723679
perf: Version String fix, for fallback if not from git

This gets rid of the default version fallback for Perf and
changes it so that it returns the version of the kernel from
it's Makefile (if sources were not from git, ie. if it was
downloaded from a tarball)

Signed-off-by: Thavidu Ranatunga <tharan@au1.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1278316815-6099-2-git-send-email-tharan@au1.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/PERF-VERSION-GEN