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

John Rigby john.rigby at linaro.org
Wed Jul 14 06:05:59 UTC 2010


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.

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
>




More information about the kernel-team mailing list