summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-04-02 20:36:33 -0700
committerPalmer Dabbelt <palmer@sifive.com>2018-04-02 20:36:33 -0700
commit2c9046b71bb6ce2386e8847fce92b18aca9127c4 (patch)
tree332fc7da3e0d432b5de5113030007f3ef8ae3318 /init/do_mounts.h
parent1cead2d7fec53a8d385934caefcf5dbb1b7d778b (diff)
parent5ce6c1f3535fa8d2134468547377b7b737042834 (diff)
downloadlinux-stable-2c9046b71bb6ce2386e8847fce92b18aca9127c4.tar.gz
linux-stable-2c9046b71bb6ce2386e8847fce92b18aca9127c4.tar.bz2
linux-stable-2c9046b71bb6ce2386e8847fce92b18aca9127c4.zip
RISC-V: Assorted memory model fixes
These fixes fall into three categories * The definiton of __smp_{store_release,load_acquire}, which allow us to emit a full fence when unnecessary. * Fixes to avoid relying on the behavior of "*.aqrl" atomics, as those are specified in the currently released RISC-V memory model draft in a way that makes them useless for Linux. This might change in the future, but now the code matches the memory model spec as it's written so at least we're getting closer to something sane. The actual fix is to delete the RISC-V specific atomics and drop back to generic versions that use the new fences from above. * Cleanups to our atomic macros, which are mostly non-functional changes. Unfortunately I haven't given these as thorough of a testing as I probably should have, but I've poked through the code and they seem generally OK.
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions