V4L/DVB (6254): Add videobuf-vmalloc
[safe/jmp/linux-2.6] / include / asm-i386 / div64.h
index 28ed8b2..438e980 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __I386_DIV64
 #define __I386_DIV64
 
+#include <linux/types.h>
+
 /*
  * do_div() is NOT a C function. It wants to return
  * two values (the quotient and the remainder), but
@@ -35,7 +37,7 @@
  */
 #define div_long_long_rem(a,b,c) div_ll_X_l_rem(a,b,c)
 
-extern inline long
+static inline long
 div_ll_X_l_rem(long long divs, long div, long *rem)
 {
        long dum2;
@@ -45,4 +47,6 @@ div_ll_X_l_rem(long long divs, long div, long *rem)
        return dum2;
 
 }
+
+extern uint64_t div64_64(uint64_t dividend, uint64_t divisor);
 #endif