diff options
| author | Sinan Kaya <okaya@codeaurora.org> | 2018-04-05 09:09:10 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2018-04-06 12:01:43 +0200 |
| commit | 032d59e1cde9dd71bb5918e1f6529776623ee86b (patch) | |
| tree | 4d66120ac6a1d2e4e34545fe68c19d1dd48ddde7 /tools/perf/scripts/python | |
| parent | io: define several IO & PIO barrier types for the asm-generic version (diff) | |
| download | linux-032d59e1cde9dd71bb5918e1f6529776623ee86b.tar.gz linux-032d59e1cde9dd71bb5918e1f6529776623ee86b.zip | |
io: define stronger ordering for the default readX() implementation
The default implementation of mapping readX() to __raw_readX() is wrong.
readX() has stronger ordering semantics. Compiler is allowed to reorder
__raw_readX() against the memory accesses following register read.
Use the previously defined __io_ar() and __io_br() macros to harden
code generation according to architecture support.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
