diff options
author | Lin Ming <ming.m.lin@intel.com> | 2011-05-07 12:41:14 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-05-07 11:40:59 +0200 |
commit | 174a7b1f9692acad7f0ca2b02f696894201a6d94 (patch) | |
tree | cb952b7d4fc8de1fe0af01e44992e3245818de81 /kernel | |
parent | 63b6a6758eede2f9283c3594265b6e32e75d7456 (diff) | |
download | linux-174a7b1f9692acad7f0ca2b02f696894201a6d94.tar.gz linux-174a7b1f9692acad7f0ca2b02f696894201a6d94.tar.bz2 linux-174a7b1f9692acad7f0ca2b02f696894201a6d94.zip |
perf tools: Makefile: Use gcc to determine ARCH
The original Makefile uses "uname -m" to determine ARCH.
This causes problem on x86 when compile perf tool on 32 bit
userspace with a 64 bit kernel.
bench/../../../arch/x86/lib/memcpy_64.S: Assembler messages:
bench/../../../arch/x86/lib/memcpy_64.S:28: Error: bad register name `%rdi'
This is because "uname -m" returns x86_64 and memcpy_64.S is
included in 32 bit build.
Reported-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Link: http://lkml.kernel.org/r/1304743274.3132.17.camel@localhost
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions