2.2.20 compilation on alpha

Ghozlane Toumi (ghoz@sympatico.ca)
Mon, 3 Dec 2001 19:43:34 -0500


Hi,

2.2.20 won't compile out of the box on my alpha: I had to apply this patch .
The kernel builds and boots fine so far, so I can say that "it works for me" .
Sorry if this has already be beaten to death ...

ghoz

--- include/asm/pci.h.orig Sun Dec 2 21:08:08 2001
+++ include/asm/pci.h Mon Dec 3 13:43:32 2001
@@ -3,6 +3,7 @@

#include <linux/config.h>
#include <linux/pci.h>
+#include <linux/errno.h>


/*
@@ -59,7 +60,7 @@
if (bus2hose[pdev->bus->number] == NULL)
return -ENXIO;

- return bus2hose[pdev->bus->number]->pci_host_index;
+ return bus2hose[pdev->bus->number]->pci_hose_index;
}

#endif /* __ALPHA_PCI_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/