patch-2.0.36 linux/include/linux/genhd.h

Next file: linux/include/linux/if_shaper.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.35/linux/include/linux/genhd.h linux/include/linux/genhd.h
@@ -43,7 +43,8 @@
 	unsigned char end_cyl;		/* end cylinder */
 	unsigned int start_sect;	/* starting sector counting from 0 */
 	unsigned int nr_sects;		/* nr of sectors in partition */
-};
+} __attribute((packed));	/* Give a polite hint to egcs/alpha to generate
+				   unaligned operations */
 
 struct hd_struct {
 	long start_sect;

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