From 125e084cef02fe865a34181ccfa7f258ccf8ab34 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 21 Nov 2005 00:04:31 -0500 Subject: [PATCH] Fix gcc compilation on sparc architectures in 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. Signed-off-by: "Theodore Ts'o" --- lib/ext2fs/ChangeLog | 7 +++++++ lib/ext2fs/bitops.h | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 40793f9de..babd1349c 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,10 @@ +2005-11-20 Theodore Ts'o + + * 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 * ext2fs.h: Add #include since the inline functions use diff --git a/lib/ext2fs/bitops.h b/lib/ext2fs/bitops.h index dbd302708..8d7c72061 100644 --- a/lib/ext2fs/bitops.h +++ b/lib/ext2fs/bitops.h @@ -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_ -- 2.47.3