Title: [6862] branches/2009R1/arch/blackfin/lib/lshrdi3.c: Fix bug [#5286] NFS root fs mount fails with CONFIG_CC_OPTIMIZE_FOR_SIZE
- Revision
- 6862
- Author
- jiez
- Date
- 2009-06-28 08:37:34 -0500 (Sun, 28 Jun 2009)
Log Message
Fix bug [#5286] NFS root fs mount fails with CONFIG_CC_OPTIMIZE_FOR_SIZE
The DIstruct in lshrdi3.c is wrong. gcclib.h has the correct one.
Modified Paths
Diff
Modified: branches/2009R1/arch/blackfin/lib/lshrdi3.c (6861 => 6862)
--- branches/2009R1/arch/blackfin/lib/lshrdi3.c 2009-06-28 13:19:36 UTC (rev 6861)
+++ branches/2009R1/arch/blackfin/lib/lshrdi3.c 2009-06-28 13:37:34 UTC (rev 6862)
@@ -27,22 +27,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define BITS_PER_UNIT 8
+#include "gcclib.h"
-typedef int SItype __attribute__ ((mode(SI)));
-typedef unsigned int USItype __attribute__ ((mode(SI)));
-typedef int DItype __attribute__ ((mode(DI)));
-typedef int word_type __attribute__ ((mode(__word__)));
-
-struct DIstruct {
- SItype high, low;
-};
-
-typedef union {
- struct DIstruct s;
- DItype ll;
-} DIunion;
-
#ifdef CONFIG_ARITHMETIC_OPS_L1
DItype __lshrdi3(DItype u, word_type b)__attribute__((l1_text));
#endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits