diff options
| author | David Gibson <[email protected]> | 2015-02-03 16:36:23 +1100 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2015-03-24 13:33:50 +1100 |
| commit | 7a8bf874487cc8990857973a789d7161b699389d (patch) | |
| tree | 4de25247e879b07382252738b0fdec507399c300 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c2d5a71064b5d5d169496907030c887eb6590553 (diff) | |
powerpc: Remove arch specific byteswappers from the MXC MMC driver
When the MXC MMUC driver is used on a Freescale MPC512x machine, it
contains some additional byteswapping code (I'm assuming this is a
workaround for a hardware defect). This uses the ppc specific st_le32()
function, but there's no reason not to use the generic swab32() function
instead. gcc is capable of generating the efficient ppc byte-reversing
load/store instructions without the arch-specific helper.
This patch, therefore, switches to the generic byteswap routine.
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions