diff options
| author | Paul Burton <paul.burton@mips.com> | 2019-10-01 21:53:10 +0000 |
|---|---|---|
| committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 09:42:20 -0700 |
| commit | 05e6da742b5b708057e84487576655e4d7238dd1 (patch) | |
| tree | 8b65fb2ecd7934b41e505afa731916913243b470 /tools/perf/scripts/python | |
| parent | MIPS: barrier: Clean up rmb() & wmb() definitions (diff) | |
| download | linux-05e6da742b5b708057e84487576655e4d7238dd1.tar.gz linux-05e6da742b5b708057e84487576655e4d7238dd1.zip | |
MIPS: barrier: Clean up __smp_mb() definition
We #ifdef on Cavium Octeon CPUs, but emit the same sync instruction in
both cases. Remove the #ifdef & simply expand to the __sync() macro.
Whilst here indent the strong ordering case definitions to match the
indentation of the weak ordering ones, helping readability.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
