* Alexey Dobriyan wrote:
> On Sat, Mar 31, 2018 at 10:36:32AM +0200, Ingo Molnar wrote:
> > > --- a/include/linux/refcount.h
> > > +++ b/include/linux/refcount.h
> > > #include
> > > -#include
> > > -#include
> > > -#include
> > > +#include
> > > +#include
> > > +
> > > +struct mutex;
>
On Sat, Mar 31, 2018 at 10:36:32AM +0200, Ingo Molnar wrote:
> > --- a/include/linux/refcount.h
> > +++ b/include/linux/refcount.h
> > #include
> > -#include
> > -#include
> > -#include
> > +#include
> > +#include
> > +
> > +struct mutex;
> Doesn't build on x86-64 defconfig...
Yeah, it doe
* Alexey Dobriyan wrote:
> kernel.h is not needed, but compiler.h is.
>
> mutex.h is not needed only a forward declaration.
>
> spinlock.h is not needed, spinlock_types.h is enough.
>
> Signed-off-by: Alexey Dobriyan
> ---
>
> include/linux/refcount.h |7 ---
> lib/refcount.c
3 matches
Mail list logo