x86/debug: Simplify hw_breakpoint_handler()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 2 Sep 2020 13:26:00 +0000 (15:26 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 4 Sep 2020 13:12:56 +0000 (15:12 +0200)
commit21d44be7b6ff4c254dc971e2c99d4082dd470afd
treec430490b1d3ab9a4971e3e896bf3bf8d1dc8434f
parentb84d42b6c6ac6a60519286e72b69f2dbf08dfb70
x86/debug: Simplify hw_breakpoint_handler()

This is called with interrupts disabled, there's no point in using
get_cpu() and per_cpu().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20200902133201.292906672@infradead.org
arch/x86/kernel/hw_breakpoint.c