ARM: 7705/1: use optimized do_div only for EABI
[linux-2.6-microblaze.git] / arch / arm / include / asm / div64.h
index fe92ccf..191ada6 100644 (file)
@@ -46,7 +46,7 @@
        __rem;                                                  \
 })
 
-#if __GNUC__ < 4
+#if __GNUC__ < 4 || !defined(CONFIG_AEABI)
 
 /*
  * gcc versions earlier than 4.0 are simply too problematic for the