diff options
author | Rasmus Villemoes <[email protected]> | 2019-11-28 15:55:09 +0100 |
---|---|---|
committer | Li Yang <[email protected]> | 2019-12-09 13:54:29 -0600 |
commit | 6ac9b61786cc64ae5cbfb69413137656f72e8204 (patch) | |
tree | dda83c77c12888067d57e251d22bbfa5b91616b2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d9d95bcad38d18536ecf344e3f4105ed3c7dc7f7 (diff) |
soc: fsl: qe: introduce qe_io{read,write}* wrappers
The QUICC engine drivers use the powerpc-specific out_be32() etc. In
order to allow those drivers to build for other architectures, those
must be replaced by iowrite32be(). However, on powerpc, out_be32() is
a simple inline function while iowrite32be() is out-of-line. So in
order not to introduce a performance regression on powerpc when making
the drivers work on other architectures, introduce qe_io* helpers.
Also define the qe_{clr,set,clrset}bits* helpers in terms of these new
macros.
Reviewed-by: Timur Tabi <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions