diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-06-03 13:40:20 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-06-11 15:15:28 +0200 |
commit | 5ef227933117085f1320b3421ef43a26bf624b4c (patch) | |
tree | e0f84f4527d42c36f7471cd66df486ff9e407721 /kernel/locking | |
parent | 4b281e541bba74bf9574335289484c577f41eaf7 (diff) | |
download | linux-5ef227933117085f1320b3421ef43a26bf624b4c.tar.gz |
x86/entry: Re-order #DB handler to avoid *SAN instrumentation
vmlinux.o: warning: objtool: exc_debug()+0xbb: call to clear_ti_thread_flag.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: noist_exc_debug()+0x55: call to clear_ti_thread_flag.constprop.0() leaves .noinstr.text section
Rework things so that handle_debug() looses the noinstr and move the
clear_thread_flag() into that.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200603114052.127756554@infradead.org
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions