All of lore.kernel.org
 help / color / mirror / Atom feed
* mips requires alignment for ext2_*_bit functions
@ 2002-03-28 23:43 Dale Farnsworth
  2002-03-29  9:20 ` Oleg Drokin
  0 siblings, 1 reply; 3+ messages in thread
From: Dale Farnsworth @ 2002-03-28 23:43 UTC (permalink / raw)
  To: reiserfs-list

We see immediate alignment failures using reiserfs on mips systems.

The problems go away with the following patch.

-Dale Farnsworth



Index: linux/include/linux/reiserfs_fs.h
===================================================================
RCS file: /cvsdev/hhl-2.4.17/linux/include/linux/reiserfs_fs.h,v
retrieving revision 1.3
diff -u -r1.3 reiserfs_fs.h
--- linux/include/linux/reiserfs_fs.h	2002/01/10 19:46:23	1.3
+++ linux/include/linux/reiserfs_fs.h	2002/03/27 21:59:07
@@ -847,7 +847,7 @@
 #define DEH_Visible 2
 
 /* 64 bit systems (and the S/390) need to be aligned explicitly -jdm */
-#if BITS_PER_LONG == 64 || defined(__s390__) || defined(__hppa__)
+#if BITS_PER_LONG == 64 || defined(__s390__) || defined(__hppa__) || defined(__mips__)
 #   define ADDR_UNALIGNED_BITS  (3)
 #endif
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-29 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-28 23:43 mips requires alignment for ext2_*_bit functions Dale Farnsworth
2002-03-29  9:20 ` Oleg Drokin
2002-03-29 17:10   ` Dale Farnsworth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.