Commit 21d44be
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.org1 parent b84d42b commit 21d44be
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
509 | 508 | | |
510 | 509 | | |
511 | 510 | | |
512 | 511 | | |
513 | | - | |
514 | 512 | | |
515 | 513 | | |
516 | 514 | | |
| |||
525 | 523 | | |
526 | 524 | | |
527 | 525 | | |
528 | | - | |
| 526 | + | |
529 | 527 | | |
530 | 528 | | |
531 | 529 | | |
| |||
560 | 558 | | |
561 | 559 | | |
562 | 560 | | |
563 | | - | |
564 | | - | |
565 | 561 | | |
566 | 562 | | |
567 | 563 | | |
| |||
0 commit comments