lkml.org 
[lkml]   [2001]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[x86-64 patch 1/11] AIC7xxx endian include fix
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.037 / U:6.608 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site