x86, kcsan: Add __no_kcsan to noinstr
authorPeter Zijlstra <peterz@infradead.org>
Tue, 2 Jun 2020 16:47:11 +0000 (18:47 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 Jun 2020 12:10:08 +0000 (14:10 +0200)
commit5ddbc4082e1072eeeae52ff561a88620a05be08f
tree4f63655b80372b75dd21168d0ee8e754079bb1ef
parente79302ae8c8cceb51cf642d5ace9da02668cb7b4
x86, kcsan: Add __no_kcsan to noinstr

The 'noinstr' function attribute means no-instrumentation, this should
very much include *SAN. Because lots of that is broken at present,
only include KCSAN for now, as that is limited to clang11, which has
sane function attribute behaviour.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
include/linux/compiler_types.h