Re: [PATCH] refcount: trim headers

From: Alexey Dobriyan
Date: Sat Mar 31 2018 - 09:39:34 EST


On Sat, Mar 31, 2018 at 10:36:32AM +0200, Ingo Molnar wrote:
> > --- a/include/linux/refcount.h
> > +++ b/include/linux/refcount.h
> > #include <linux/atomic.h>
> > -#include <linux/mutex.h>
> > -#include <linux/spinlock.h>
> > -#include <linux/kernel.h>
> > +#include <linux/compiler.h>
> > +#include <linux/spinlock_types.h>
> > +
> > +struct mutex;

> Doesn't build on x86-64 defconfig...

Yeah, it doesn't :-(
Is this going to go through -tip?
Or I'll build test over both trees.