# Re: \[PATCH 05/10\] arm64: debug: Remove meaningless comment

- From: Mark Rutland \<mark.rutland@arm.com\>
- Date: 2019-03-01 14:08:54 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2019/03/8778982
- Thread: https://ratatoskr.run/linux-arm-kernel/2019/03/8778967/t.md

```text
On Fri, Mar 01, 2019 at 01:28:04PM +0000, Will Deacon wrote:
> The comment next to the definition of our 'break_hook' list head is
> at best wrong but mainly just meaningless. Rip it out.
> 
> Signed-off-by: Will Deacon <redacted>

Reviewed-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> ---
>  arch/arm64/kernel/debug-monitors.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c
> index c4c263d0cf0f..744229d10ca8 100644
> --- a/arch/arm64/kernel/debug-monitors.c
> +++ b/arch/arm64/kernel/debug-monitors.c
> @@ -264,11 +264,6 @@ static int single_step_handler(unsigned long unused, unsigned int esr,
>  }
>  NOKPROBE_SYMBOL(single_step_handler);
>  
> -/*
> - * Breakpoint handler is re-entrant as another breakpoint can
> - * hit within breakpoint handler, especically in kprobes.
> - * Use reader/writer locks instead of plain spinlock.
> - */
>  static LIST_HEAD(break_hook);
>  static DEFINE_SPINLOCK(break_hook_lock);
>  
> -- 
> 2.11.0
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
