/*
- * Copyright (C) 2000 Maciej W. Rozycki
+ * Copyright (C) 2000, 2004 Maciej W. Rozycki
* Copyright (C) 2003 Ralf Baechle
*
* This file is subject to the terms and conditions of the GNU General Public
#if (_MIPS_SZLONG == 32)
+#include <asm/compiler.h>
+
/*
* No traps on overflows for any of these...
*/
if (__high) \
__asm__("divu $0, %z2, %z3" \
: "=h" (__upper), "=l" (__high) \
- : "Jr" (__high), "Jr" (__base)); \
+ : "Jr" (__high), "Jr" (__base) \
+ : GCC_REG_ACCUM); \
\
__mod = do_div64_32(__low, __upper, __low, __base); \
\