aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dtc
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-04-06 14:02:46 -0400
committerArnd Bergmann <arnd@arndb.de>2018-04-10 16:37:34 +0200
commita71e7c44ffb7baea0c0795824afc34cc0bc1a301 (patch)
tree24649ae4d46d4430fc54fb488943828592e94d34 /scripts/dtc
parentio: change readX_relaxed() to remove barriers (diff)
downloadlinux-dev-a71e7c44ffb7baea0c0795824afc34cc0bc1a301.tar.xz
linux-dev-a71e7c44ffb7baea0c0795824afc34cc0bc1a301.zip
io: change writeX_relaxed() to remove barriers
Now that we hardened writeX() API in asm-generic version, writeX_relaxed() API is violating the rules when writeX_relaxed() == writeX() 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 writes to be ordered with respect to each other. This is achieved by the volatile in the __raw_writeX() 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 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions