aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-24 17:00:29 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-10 14:30:08 +0100
commit94cbb6978b63d004502eed24417aceb7b36bc10a (patch)
treea6535edd940a60f52ad5130dcdc125adc438b60f /tools/perf/scripts/python/bin/stackcollapse-report
parentMerge 4.9-rc3 into tty-next (diff)
downloadlinux-94cbb6978b63d004502eed24417aceb7b36bc10a.tar.gz
linux-94cbb6978b63d004502eed24417aceb7b36bc10a.zip
serial: 8250_uniphier: hardcode regshift to avoid unneeded memory read
For this driver, uart_port::regshift is always 2. Hardcode the shift value instead of reading ->regshift to get an already known value. (pointed out by Denys Vlasenko) Furthermore, I am using register macros that are already shifted, which will save code a bit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions