Re: [PATCH] x86/debug: Allow a single level of #DB recursion
From: Andy Lutomirski
Date: Thu Aug 20 2020 - 18:43:23 EST
On Thu, Aug 20, 2020 at 1:44 AM <peterz@xxxxxxxxxxxxx> 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.