Re: [PATCH v5 1/3] cpu: export lockdep_assert_cpus_held()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ping?

On Wed, Jan 22, 2025 at 03:37:44PM +0000, Michael Kelley wrote:
> From: Hamza Mahfooz <hamzamahfooz@xxxxxxxxxxxxxxxxxxx> Sent: Friday, January 17, 2025 12:33 PM
> > 
> > If CONFIG_HYPERV=m, lockdep_assert_cpus_held() is undefined for HyperV.
> > So, export the function so that GPL drivers can use it more broadly.
> > 
> > Cc: Michael Kelley <mhklinux@xxxxxxxxxxx>
> > Signed-off-by: Hamza Mahfooz <hamzamahfooz@xxxxxxxxxxxxxxxxxxx>
> > ---
> > v5: new to the series
> > ---
> >  kernel/cpu.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/kernel/cpu.c b/kernel/cpu.c
> > index b605334f8ee6..d3c848d66908 100644
> > --- a/kernel/cpu.c
> > +++ b/kernel/cpu.c
> > @@ -526,6 +526,7 @@ void lockdep_assert_cpus_held(void)
> > 
> >  	percpu_rwsem_assert_held(&cpu_hotplug_lock);
> >  }
> > +EXPORT_SYMBOL_GPL(lockdep_assert_cpus_held);
> > 
> >  #ifdef CONFIG_LOCKDEP
> >  int lockdep_is_cpus_held(void)
> > --
> > 2.47.1
> 
> This series should have been posted as "v6" since "v5" was posted on
> January 16th.  That notwithstanding,
> 
> Reviewed-by: Michael Kelley <mhklinux@xxxxxxxxxxx>
> Tested-by: Michael Kelley <mhklinux@xxxxxxxxxxx>
> 




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux