]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix gcc compilation on sparc architectures in bitops.h
authorTheodore Ts'o <tytso@mit.edu>
Mon, 21 Nov 2005 05:04:31 +0000 (00:04 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Nov 2005 05:04:31 +0000 (00:04 -0500)
We no longer have the sparc assembly code in the header file any more, so we
shouldn't set _EXT2_HAVE_AS_BITOPS_.  This would break compiles on the sparc
architectures when using gcc.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ChangeLog
lib/ext2fs/bitops.h

index 40793f9de5544b1961aca65122007efe20226c4a..babd1349c65f0ee674a90e2e62ca167dcc820813 100644 (file)
@@ -1,3 +1,10 @@
+2005-11-20  Theodore Ts'o  <tytso@mit.edu>
+
+       * bitops.h: We no longer have the sparc assembly code in the
+               header file any more, so we shouldn't set
+               _EXT2_HAVE_AS_BITOPS_.  This would break compiles on the
+               sparc architectures when using gcc.
+       
 2005-11-13  Theodore Ts'o  <tytso@mit.edu>
 
        * ext2fs.h: Add #include <string.h> since the inline functions use
index dbd30270835e7ecc57cb246702ceab0f7c7b8aef..8d7c720611d1de966cfc93a90f31fddbaa196e4c 100644 (file)
@@ -111,8 +111,7 @@ extern int ext2fs_unmark_generic_bitmap(ext2fs_generic_bitmap bitmap,
  */
 #ifdef NO_INLINE_FUNCS
 #if (defined(__GNUC__) && (defined(__i386__) || defined(__i486__) || \
-                          defined(__i586__) || defined(__mc68000__) || \
-                          defined(__sparc__)))
+                          defined(__i586__) || defined(__mc68000__)))
        /* This prevents bitops.c from trying to include the C */
        /* function version of these functions */
 #define _EXT2_HAVE_ASM_BITOPS_