make oldconfig will rebuild these...
[linux-2.4.21-pre4.git] / include / asm-cris / div64.h
1 #ifndef __ASM_CRIS_DIV64
2 #define __ASM_CRIS_DIV64
3
4 /* copy from asm-arm */
5
6 /* We're not 64-bit, but... */
7 #define do_div(n,base)                                          \
8 ({                                                              \
9         int __res;                                              \
10         __res = ((unsigned long)n) % (unsigned int)base;        \
11         n = ((unsigned long)n) / (unsigned int)base;            \
12         __res;                                                  \
13 })
14
15 #endif
16