GCC's optimiser seems to screw up if this is left static...
authorMichael Brown <mcb30@etherboot.org>
Mon, 30 Jul 2007 01:42:32 +0000 (02:42 +0100)
committerMichael Brown <mcb30@etherboot.org>
Mon, 30 Jul 2007 01:42:32 +0000 (02:42 +0100)
src/arch/i386/core/udivmod64.c

index faf6fd8..6293c8e 100644 (file)
@@ -273,7 +273,7 @@ static inline void udivmod64_lo ( const struct uint64 *x,
                  : "g" ( d->l ), "0" ( x->l ), "1" ( r_dash ) );
 }
 
-static void udivmod64 ( const struct uint64 *x,
+void udivmod64 ( const struct uint64 *x,
                        const struct uint64 *d,
                        struct uint64 *q,
                        struct uint64 *r ) {