summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2013-11-20 12:50:51 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2013-11-20 13:57:07 -0800
commit661c80192d21269c7fc566f1d547510b0c867677 (patch)
treeb0560d5e4a13b708cd10d17012a2a5bf6ddbf4d3 /tools/perf/scripts/python
parentf4cb1cc18f364d761d5614eb6293cccc6647f259 (diff)
x86-64, copy_user: Use leal to produce 32-bit results
When we are using lea to produce a 32-bit result, we can use the leal form, rather than using leaq and worry about truncation elsewhere. Make the leal explicit, both to be more obvious and since that is what gcc generates and thus is less likely to trigger obscure gas bugs. Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1384634221-6006-1-git-send-email-fenghua.yu@intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions