summaryrefslogtreecommitdiffstats
path: root/patches/e2fsprogs-1.40.8/generic/coldfire-v4e-compilefix.patch
blob: a8ad45703c24bfb89dee4af1e46d4d6593de092d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Carsten Schlote <schlote@vahanus.net>
Date: Tue, 11 Mar 2008 00:32:20 +0100
Subject: [PATCH] [e2fsprogs-1.40.4] Fixed bitops.h for Coldfire V4E

Commented out assembly inline code for mc68020 or higher.
These mnemonics aren't available on Coldfire. Using C routines
now.

Signed-off-by: Carsten Schlote <schlote@vahanus.net>

Index: e2fsprogs-1.40.4/lib/ext2fs/bitops.h
===================================================================
--- e2fsprogs-1.40.4.orig/lib/ext2fs/bitops.h	2008-03-11 00:25:58.620287376 +0100
+++ e2fsprogs-1.40.4/lib/ext2fs/bitops.h	2008-03-11 00:28:15.628095006 +0100
@@ -302,7 +302,7 @@
 #endif	/* i386 */
 
 #if ((defined __GNUC__) && !defined(_EXT2_USE_C_VERSIONS_) && \
-     (defined(__mc68000__)))
+     (defined(__mc68000__)) && !defined(__mcoldfire__))
 
 #define _EXT2_HAVE_ASM_BITOPS_