[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130626044842.GR23141@intel.com>
Date: Wed, 26 Jun 2013 10:18:42 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: Jonathan Austin <jonathan.austin@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Steve Capper <Steve.Capper@....com>,
Catalin Marinas <catalin.marinas@....com>,
linus.walleij@...aro.org, Will Deacon <will.deacon@....com>,
Al Viro <viro@...iv.linux.org.uk>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: amba-pl08x and 'get_signal' namespace collision/build error
On Tue, Jun 25, 2013 at 07:45:39PM +0100, Russell King - ARM Linux wrote:
> On Tue, Jun 25, 2013 at 12:30:08PM +0100, Jonathan Austin wrote:
> > There's a patch making its way to mainline via Russell's tree
> > (8d96250700: ARM: mm: Transparent huge page support for LPAE systems)
> > that breaks the build of the amba-pl08x driver (drivers/dma/amba-pl08x.c)
> > because the 'get_signal' macro from include/linux/signal.h is now in the
> > driver's scope and it clobbers a (previously) valid function call.
>
> Well, here's the change to asm/pgtable.h in that patch:
>
> diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
> index 9bcd262..eaedce7 100644
> --- a/arch/arm/include/asm/pgtable.h
> +++ b/arch/arm/include/asm/pgtable.h
> @@ -24,6 +24,9 @@
> #include <asm/memory.h>
> #include <asm/pgtable-hwdef.h>
>
> +
> +#include <asm/tlbflush.h>
> +
> #ifdef CONFIG_ARM_LPAE
> #include <asm/pgtable-3level.h>
> #else
>
> And the question is - if that's all that is going on in that file, why
> is asm/tlbflush.h being added to it? What in _that_ file uses anything
> from asm/tlbflush.h (nothing apparantly from what I can see)?
>
> So, I'm tempted to kill this change off unless someone can justify why
> that addition happened - it looks completely inappropriate to me.
Yup. This is fixed in slave-dma tree by a patch from mark by renaming it.
This should not show in the -next tree
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists