diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-04-06 14:02:45 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-04-10 16:37:21 +0200 |
commit | 8875c55437617fa4351070656bd78e17ed8284a5 (patch) | |
tree | 3becfe6342a176e9306179da665bb522d0fd6f3b /drivers/gpio/gpio-brcmstb.c | |
parent | 8d14f31ec9ac3e27fd451c23c760b59559c2ad27 (diff) | |
download | linux-8875c55437617fa4351070656bd78e17ed8284a5.tar.gz linux-8875c55437617fa4351070656bd78e17ed8284a5.tar.bz2 linux-8875c55437617fa4351070656bd78e17ed8284a5.zip |
io: change readX_relaxed() to remove barriers
Now that we hardened readX() API in asm-generic version, readX_relaxed()
API is violating the rules when readX_relaxed() == readX() in the default
implementation.
The relaxed API shouldn't have any barriers in it and it doesn't provide
any ordering with respect to the memory transactions. The only requirement
is for reads to be ordered with respect to each other. This is achieved
by the volatile in the __raw_readX() API.
Open code the relaxed API and remove any barriers in it.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/gpio/gpio-brcmstb.c')
0 files changed, 0 insertions, 0 deletions