From f62d6486d8ed99ffff130e71b965b3aff5be70c9 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 30 Jul 2007 02:42:32 +0100 Subject: [PATCH] GCC's optimiser seems to screw up if this is left static... --- src/arch/i386/core/udivmod64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/core/udivmod64.c b/src/arch/i386/core/udivmod64.c index faf6fd8c..6293c8e1 100644 --- a/src/arch/i386/core/udivmod64.c +++ b/src/arch/i386/core/udivmod64.c @@ -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 ) {