[PATCH] mm snapshot broken-out-2007-11-20-01-45 Build Failure arch/x86/kernel/pci-gart_64.c

From: Kamalesh Babulal
Date: Tue Nov 20 2007 - 09:49:12 EST


Hi Andrew,

The kernel build fails, with foloowing message,

CC arch/x86/kernel/pci-gart_64.o
arch/x86/kernel/pci-gart_64.c: In function âgart_map_sgâ:
arch/x86/kernel/pci-gart_64.c:421: error: redeclaration of âsâ with no linkage
arch/x86/kernel/pci-gart_64.c:416: error: previous declaration of âsâwas here
arch/x86/kernel/pci-gart_64.c:421: error: redeclaration of âpsâ with no linkage
arch/x86/kernel/pci-gart_64.c:416: error: previous declaration of âpsâ was here
arch/x86/kernel/pci-gart_64.c:421: error: redeclaration of âstart_sgâwith no linkage
arch/x86/kernel/pci-gart_64.c:416: error: previous declaration of âstart_sgâ was here
arch/x86/kernel/pci-gart_64.c:421: error: redeclaration of âsgmapâ with no linkage
arch/x86/kernel/pci-gart_64.c:416: error: previous declaration of âsgmapâ was here
make[1]: *** [arch/x86/kernel/pci-gart_64.o] Error 1
make: *** [arch/x86/kernel] Error 2

This is caused by the git-x86-fixup.patch.

Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
--

--- linux-2.6.24-rc3/arch/x86/kernel/pci-gart_64.c 2007-11-21 00:16:23.000000000 +0530
+++ linux-2.6.24-rc3/arch/x86/kernel/~pci-gart_64.c 2007-11-21 04:02:12.000000000 +0530
@@ -418,7 +418,6 @@ gart_map_sg(struct device *dev, struct s
unsigned long pages = 0;
unsigned int seg_size;
unsigned int max_seg_size;
- struct scatterlist *s, *ps, *start_sg, *sgmap;

if (nents == 0)
return 0;


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