]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry: Introduce local_db_{save,restore}()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 29 May 2020 21:27:33 +0000 (23:27 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:21 +0000 (15:15 +0200)
commit06017ee558ee7c367b89af119c7a96d4db2b4af9
tree0018983a29a3b2b285805eefe8151a9ca335698c
parent8cfe57a72038ee3ed523c35ac7e6339cecf8ae2f
x86/entry: Introduce local_db_{save,restore}()

In order to allow other exceptions than #DB to disable breakpoints,
provide common helpers.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200529213321.012060983@infradead.org
arch/x86/include/asm/debugreg.h
arch/x86/kernel/traps.c