2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error

From: Adrian Bunk
Date: Fri Sep 01 2006 - 11:57:34 EST


On Fri, Sep 01, 2006 at 01:58:18AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc4-mm3:
>...
> +amso1100-build-fix.patch
>
> Fix git-infiniband.patch
>...

This causes the following compile error on i386:

<-- snip -->

...
CC drivers/infiniband/hw/amso1100/c2.o
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/infiniband/hw/amso1100/c2.c: In function âc2_tx_ring_allocâ:
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/infiniband/hw/amso1100/c2.c:133: error: implicit declaration of function â__raw_writeqâ
make[4]: *** [drivers/infiniband/hw/amso1100/c2.o] Error 1

<-- snip -->

There seems to be some confusion regarding whether __raw_writeq() is
considered a platform independent API.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/