Re: Final 2.4.x SATA updates

From: Willy Tarreau
Date: Sun Dec 04 2005 - 11:06:44 EST


Hi Jeff,

On Thu, Dec 01, 2005 at 08:41:01PM -0500, Jeff Garzik wrote:
> Erik Andersen wrote:
> >On Thu Dec 01, 2005 at 04:48:37PM -0500, Jeff Garzik wrote:
> >
> >>Now that ATAPI support is pretty stable, the 2.4 version of libata will
> >>be receiving its final updates soon. Here is the current backport,
> >>for testing and feedback.
> >
> >
> >Awesome. 2.4.x lacks KM_IRQ0 in kmap_types.h
> >
> >gcc -D__KERNEL__ -I/usr/src/linux-2.4.32/include -Wall
> >-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
> >-fomit-frame-pointer -Os -falign-functions=2 -falign-jumps=2
> >-falign-labels=2 -falign-loops=2 -pipe -mpreferred-stack-boundary=2
> >-march=i486 -DMODULE -nostdinc -iwithprefix include
> >-DKBUILD_BASENAME=libata_core -DEXPORT_SYMTAB -c libata-core.c
> >libata-core.c: In function `ata_sg_clean':
> >libata-core.c:2427: error: `KM_IRQ0' undeclared (first use in this
> >function)
> >libata-core.c:2427: error: (Each undeclared identifier is reported only
> >once
> >libata-core.c:2427: error: for each function it appears in.)
> >libata-core.c: In function `ata_sg_setup':
> >libata-core.c:2701: error: `KM_IRQ0' undeclared (first use in this
> >function)
> >make[2]: *** [libata-core.o] Error 1
>
> hmmm, interesting. Easy enough to fix. I guess I didn't build on a
> highmem box.

Same problem for me, but unfortunately, I don't know how to fix this. I've
seen that KM_IRQ* are not defined on x86. I don't know if I can use other
ones, not what would be the consequences. Would you please enlighten me a
bit on this, I'm willing to test it but don't know how to build it first.

Thanks in advance,
Willy

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