perf/hwbp: Simplify the perf-hwbp code, fix documentation
authorLinus Torvalds <[email protected]>
Tue, 27 Mar 2018 01:39:07 +0000 (15:39 -1000)
committerIngo Molnar <[email protected]>
Wed, 28 Mar 2018 15:41:50 +0000 (17:41 +0200)
commitf67b15037a7a50c57f72e69a6d59941ad90a0f0f
tree5aec8a6e17ca80a049efb3b0198fef80a7a69c31
parent71eb9ee9596d8df3d5723c3cfc18774c6235e8b1
perf/hwbp: Simplify the perf-hwbp code, fix documentation

Annoyingly, modify_user_hw_breakpoint() unnecessarily complicates the
modification of a breakpoint - simplify it and remove the pointless
local variables.

Also update the stale Docbook while at it.

Signed-off-by: Linus Torvalds <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Vince Weaver <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/events/hw_breakpoint.c