lkml.org 
[lkml]   [2020]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/debug: Allow a single level of #DB recursion
On Wed, Aug 19, 2020 at 05:15:43PM -0700, Andy Lutomirski wrote:
> +static __always_inline void debug_enter(unsigned long *dr6, unsigned long *dr7)
> +{
> + *dr6 = debug_read_clear_dr6();
> }
>
> static __always_inline void debug_exit(unsigned long dr7)
> {
> - local_db_restore(dr7);
> }

That's all unused after this patch, might as well remove it.

\
 
 \ /
  Last update: 2020-08-20 10:46    [W:0.057 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site