diff options
author | Will Deacon <will.deacon@arm.com> | 2019-02-22 19:04:53 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-02-28 18:23:12 +0100 |
commit | ce246c444a08e03bc95c9b1aa111527690d1ae13 (patch) | |
tree | 43ea78522c53ba2d415322efc96c2e43c9681e95 /lib | |
parent | asm-generic/io: Pass result of I/O accessor to __io_[p]ar() (diff) | |
download | linux-ce246c444a08e03bc95c9b1aa111527690d1ae13.tar.xz linux-ce246c444a08e03bc95c9b1aa111527690d1ae13.zip |
riscv: io: Update __io_[p]ar() macros to take an argument
The definitions of the __io_[p]ar() macros in asm-generic/io.h take the
value returned by the preceding I/O read as an argument so that
architectures can use this to create order with a subsequent delayX()
routine using a dependency.
Update the riscv barrier definitions to match, although the argument
is currently unused.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions