[Linaro-dev] Second "Linaro kernel merge result of the moment" aka "arm_next" published

Eric Miao eric.miao at canonical.com
Wed Jul 14 08:01:40 BST 2010


On Wed, Jul 14, 2010 at 2:05 PM, John Rigby <john.rigby at linaro.org> wrote:
> Here is an update.  First, I am still getting errors of the form:
>
> /home/jcrigby/work/git-trees/kernelbuild/linux/drivers/mtd/onenand/onenand_sim.c:142:
> error: expected expression before 'do'
>
> The 'do' here is from arch/arm/include/asm/io.h:
> #define writew(v,c)             do { wmb(); writew_relaxed(v,c); } while (0)
>
> That looks ok until you find out how it is used in
> drivers/mtd/onenand/onenand_sim.c:
>
> #define ONENAND_SET_WP_STATUS(v, this)                                  \
>        (writew(v, this->base + ONENAND_REG_WP_STATUS))
>
> The parens around it make the valid statement into an invalid expression.
>
> Second, on omap I was getting errors in arch/arm/plat-omap/gpio.c:
>
> /home/jcrigby/work/git-trees/kernelbuild/linux/arch/arm/plat-omap/gpio.c:
> In function 'gpio_irq_type':
> /home/jcrigby/work/git-trees/kernelbuild/linux/arch/arm/plat-omap/gpio.c:906:
> error: 'irq_desc' undeclared (first use in this function)
>
> I got around this problem by turning off sparse irq's.
>

Mm... I should have made SPARSE_IRQ default to 'n', and make sub-arch
that supports this to select, instead of making it a visible option.

> Thanks
> John
>
>
>
> On Tue, Jul 13, 2010 at 7:51 PM, Nicolas Pitre
> <nicolas.pitre at canonical.com> wrote:
>> On Tue, 13 Jul 2010, John Rigby wrote:
>>
>>> Two things:
>>> 1) leaving the Ubuntu stuff out is fine with me.
>>> 2) What config works with this.  I have only tried building with
>>> Ubuntu configs which I had to update.  I just took the default for the
>>> new stuff.  With that I get weird errors in some scsi driver.  Looks
>>> like I just need to turn it off for arm:
>>
>> Many options used on X86 are effectively useless on ARM.  Many ARM
>> targets even don't have PCI.
>>
>>
>> Nicolas
>>
>
> _______________________________________________
> linaro-dev mailing list
> linaro-dev at lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev
>



More information about the Linaro-dev mailing list