aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex_common.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-17 11:15:27 +0200
committerIngo Molnar <mingo@kernel.org>2017-06-28 18:55:55 +0200
commitba1c9f83f6330a34cc77ef989e183f54c4fe732e (patch)
treed26580678c64a739ce8b513e1e0bc7a66ea9379b /kernel/locking/rtmutex_common.h
parentfd25d19f6b8da315332bb75936605fb45d3ea981 (diff)
downloadlinux-ba1c9f83f6330a34cc77ef989e183f54c4fe732e.tar.gz
linux-ba1c9f83f6330a34cc77ef989e183f54c4fe732e.tar.bz2
linux-ba1c9f83f6330a34cc77ef989e183f54c4fe732e.zip
locking/atomic/x86: Un-macro-ify atomic ops implementation
CPP turns perfectly readable code into a much harder to read syntactic soup. Ingo suggested to write them out as-is in C and ignore the higher linecount. Do this. (As a side effect, plain C functions will be easier to KASAN-instrument as well.) Suggested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Dmitry Vyukov <dvyukov@google.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: kasan-dev@googlegroups.com Cc: will.deacon@arm.com Link: http://lkml.kernel.org/r/a35b983dd3be937a3cf63c4e2db487de2cdc7b8f.1497690003.git.dvyukov@google.com [ Beautified the C code some more and twiddled the changelog to mention the linecount increase and the KASAN benefit. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions