]> err.no Git - linux-2.6/blobdiff - include/asm-mips/div64.h
[MIPS] Wire up ioprio_set and ioprio_get.
[linux-2.6] / include / asm-mips / div64.h
index 5f7dcf5452e75db5a35ea9b41d8ed0a67fd29d07..d107832de1b65f786648bb3dac70b44509c85c7a 100644 (file)
 
 #if (_MIPS_SZLONG == 64)
 
-/*
- * Don't use this one in new code
- */
-#define do_div64_32(res, high, low, base) ({ \
-       unsigned int __quot, __mod; \
-       unsigned long __div; \
-       unsigned int __low, __high, __base; \
-       \
-       __high = (high); \
-       __low = (low); \
-       __div = __high; \
-       __div = __div << 32 | __low; \
-       __base = (base); \
-       \
-       __mod = __div % __base; \
-       __div = __div / __base; \
-       \
-       __quot = __div; \
-       (res) = __quot; \
-       __mod; })
-
 /*
  * Hey, we're already 64-bit, no
  * need to play games..