Re: compile error on linus git with ppc64

From: Benjamin Herrenschmidt
Date: Wed Jan 29 2014 - 17:53:48 EST


On Wed, 2014-01-29 at 01:00 -0800, David Rientjes wrote:
> On Wed, 29 Jan 2014, Benjamin Herrenschmidt wrote:
>
> > I have a fix queued up in next, I'll ask Linus to pull tomorrow.
> >
>
> Which fix? From linux-next-20140129:

I pushed it yesterday, it might not have made it to sfr yet. I'll send
it to Linus today.

http://git.kernel.org/cgit/linux/kernel/git/benh/powerpc.git/commit/?h=next&id=fd120dc2e205d2318a8b47d6d8098b789e3af67d

Cheers,
Ben.

> In file included from include/linux/spinlock.h:81:0,
> from include/linux/seqlock.h:35,
> from include/linux/time.h:5,
> from include/uapi/linux/timex.h:56,
> from include/linux/timex.h:56,
> from include/linux/sched.h:17,
> from arch/powerpc/kernel/asm-offsets.c:17:
> include/linux/spinlock_types.h:76:3: error: redefinition of typedef 'spinlock_t'
> arch/powerpc/include/asm/pgtable-ppc64.h:563:25: note: previous declaration of 'spinlock_t' was here


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/