Re: [PATCH 1/2] tools: Remove lockdep.h and its include from spinlock.h

From: Matthew Wilcox
Date: Tue Jul 06 2021 - 10:43:21 EST

On Tue, Jul 06, 2021 at 04:26:31PM +0200, Eugenio Pérez wrote:
> Commit 58d6ea3085f2 ("xarray: Add XArray unconditional store
> operations") adds this file at the same time that xarray and xarray
> tests. However, xarray tests and other tools/ works with no problem
> without this file.
> The motivation for the deletion is that vhost tests/tools need to use
> spinlock.h mock file, but at the moment it includes lockdep.h that is
> only available under tools/testing/radix-tree.
> Signed-off-by: Eugenio Pérez <eperezma@xxxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>