patch-2.1.88 linux/drivers/scsi/hosts.h

Next file: linux/drivers/scsi/ppa.h
Previous file: linux/drivers/scsi/gdth_proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/drivers/scsi/hosts.h linux/drivers/scsi/hosts.h
@@ -377,7 +377,7 @@
      * alignment to a 4-byte boundary.
      */
     unsigned long hostdata[0]  /* Used for storage of host specific stuff */
-        __attribute__ ((aligned (4)));
+        __attribute__ ((aligned (sizeof(unsigned long))));
 };
 
 extern struct Scsi_Host * scsi_hostlist;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov