diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2024-06-24 18:39:49 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-06-29 05:36:30 +0300 |
commit | 7c812814e8c34a41bff6fe49987760ffaf8702af (patch) | |
tree | 1c881eec056c5724a3443b8dae655011397d9d1c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 961a2851324561caed579764ffbee3db82b32829 (diff) | |
download | linux-7c812814e8c34a41bff6fe49987760ffaf8702af.tar.xz |
compiler.h: simplify data_race() macro
-Wdeclaration-after-statement used since forever required statement
expressions to inject __kcsan_disable_current(), __kcsan_enable_current()
to mark data race. Now that it is gone, make macro expansion simpler.
__unqual_scalar_typeof() is wordy macro by itself.
"expr" is expanded twice.
Link: https://lkml.kernel.org/r/fb62163f-ba21-4661-be5b-bb5124abc87d@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions