lkml.org 
[lkml]   [2020]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/debug: Allow a single level of #DB recursion
On Thu, Aug 20, 2020 at 1:44 AM <peterz@infradead.org> wrote:
>
> 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.

Whoops.

\
 
 \ /
  Last update: 2020-08-21 00:44    [W:0.060 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site