[x86-64 patch 1/11] AIC7xxx endian include fix

Vojtech Pavlik (vojtech@suse.cz)
Thu, 13 Sep 2001 18:27:43 +0200


Hi!

This is a bunch of patches to make most of the drivers in Linux kernel
compile on the AMD SledgeHammer (x86-64) platform. Most of them are not
x86-64 specific and are general fixes that are needed anyway.

All the patches are generated against x86-64 2.4.9 tree, but were tested
that they apply with some minor offsets to 2.4.10-pre8 as well.

This first patch is a fix for the AIC-7xxx driver to fix the #include it
uses for endianity stuff.

diff -urN linux-x86_64/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h linux/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
--- linux-x86_64/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h Fri Jul 6 01:29:20 2001
+++ linux/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h Thu Sep 13 10:56:25 2001
@@ -35,7 +35,7 @@
*/

#if linux
-#include <endian.h>
+#include <asm/byteorder.h>
#else
#include <machine/endian.h>
#endif

-- 
Vojtech Pavlik
SuSE Labs
-
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/